About PostPersist

manual

JPA Lifecycle Events

Explains how to use JPA lifecycle events (client side triggers) with callback methods and listener classes.... onPrePersist ( ) { } @PostPersist javax.persistence.PostPersist JPA annotation Is used to specify callback methods for ...

 
api-jpa

JPA Annotations for Callback Methods

Reference (JavaDoc) of JPA 2 event callback and listener annotations, including @PrePersist(2), @PreRemove, @PreUpdate, @PostLoad, @PostPersist, @PostRemove and @PostUpdate.... javax.persistence.PostLoad javax.persistence.PostPersist javax.persistence.PostRemove ...

 
forum_thread

finding post-persist pre-commit objects

Hi, I'm wondering if there is a way to have post-persisted, pre-committed, objects show up in queries? ie: the object has been persisted, but not yet committed. Dave   #1 2014-06-19 00:17 Hi, I'm wondering if there is a way to have post-persisted, pre-committed, objects show up in queries? ...

 
api-jpa

javax.persistence.PostPersist

Is used to specify callback methods for the corresponding lifecycle event.(Annotation of JPA)