Hibernate JPA @PreUpdate Example

@PreUpdate

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

PreUpdate 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.

Comments

Popular posts from this blog

Today Walkin 14th-Sept

Hibernate Search - Elasticsearch with JSON manipulation

Spring Elasticsearch Operations