Hi, In one entity class I don't want to delete the records on delete operations. Instead I would like to mark them as deleted using some flag. How can I do that using some of the callback methods like PrePersist, ProPersist, PreRemove or PostRemove?
The similar for Update. Instead to update the records I would like to increase the number of versions for this record and to insert new record on the place of the old. Which method to use PreUpdate or PostUpdate. For both of the above how to stop the real delete/update operations? Regards, Miro.
