About PostLoad

manual

JPA Lifecycle Events

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

 
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.PreUpdate javax.persistence.PostLoad javax.persistence.PostPersist ...

 
api-jpa

javax.persistence.PostLoad

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

 
api-jdo

postLoad(event)

Invoked whenever a persistent instance is loaded from the data store.(Method of javax.jdo.listener.LoadLifecycleListener)

 
api-jdo

FetchGroup.postLoad

Whether we should load this group as part of the post load process.(Annotation Element of javax.jdo.annotations.FetchGroup)

 
forum_thread

Handling deleted references

Hi support team, I have a problem when using DELETE query to delete Entity instances. We use the following hierarchy: ... and no version. To simplify the use case I added a @PostLoad method to the User class, which simply checks if the profile instance ... is null and create a new profile instance: @ PostLoad private void checkProfileAvailable ( ) ...

 
forum_thread

Adding EntityListener Throws Unexpected Internal Exception

I tried adding EntityListener for a entity class and an exception was thrown. I followed similar as mentioned on the documentation but no luck. My entity class looks like below: ... class MyListener {   @ PostLoad public void onPostLoad ( Object o ) { Logger. info ( "PostLoad call." ) ; }   @ PreUpdate ...

 
api-jdo

setPostLoad(postLoad)

Set the post-load property of this FetchGroup.(Method of javax.jdo.FetchGroup)

 
api-jdo

javax.jdo.FetchGroup

FetchGroup represents a named fetch group for a specific class or interface.(Interface of JDO)

 
api-jdo

javax.jdo.annotations.FetchGroup

Annotation for the fetch group of a class.(Annotation of JDO)