2020-04-18

Hibernate JPA @PreRemove Example

@PreRemove

The @PreRemove annotation is used to specify a callback method that fires before an entity is removed.

PreRemove Specifies a callback method for the corresponding lifecycle event. This annotation may be applied to methods of an entity class, a mapped superclass, or a callback listener class.

No comments:

Post a Comment