Cascade deletion of Java: comments such as @ OneToMany, etc., how to do my pseudo deletion

cascading deletions are actually performed

but in practice, it is this kind of pseudo deletion that creates flag and assigns 0,1

.

is there a callback method that can handle the logic of deletion? Only in this way can we write custom delete logic

how do you deal with similar problems

-split line-

assume that my entity class is Parent, and use @ SQLDelete to modify it
clipboard.png
@ SQLDeleteAll, @ SQLInsert, @ SQLUpdate

Mar.01,2021

this is a tricky question, the difference between physical deletion and tag deletion. This kind of scene is frequently used in practical work, and it is realized directly through update

without delving into it.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36dfe-2c050.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36dfe-2c050.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?