9.13 How to Conditionally Prevent an Entity Row from Being Removed
The remove()
method is invoked on an entity row before it is removed. You can conditionally throw a JboException
in this method to prevent a row from being removed if the appropriate conditions are not met.
Note:
The entity object offers declarative prevention of deleting a master entity row that has existing, composed children rows. You configure this option on the Association Properties page of the Association Editor for the composition. |