java - How to soft delete (logical delete) for all entities in eclipselink -


I have researched the soft removal of water in eclipselink and I have seen that we can do it with DescriptorCustomizer and AdditionalCriteria Are there. But my problem is that I have a big project and the customer wants to delete all the records (also) I want to solve a solution without making it a lot more descriptor customizer classes. I have a lot of relationships and it is very difficult to handle That is to write a SQL update for all children.

Can I cancel the soft removal of all our institutions and their child easily?


Comments

Popular posts from this blog

eclipse plugin - Run java code error: Workspace is closed -

ios - How do I use CFArrayRef in Swift? -

scala - Play Framework - how to bind form to a session field -