ObjectDB ObjectDB

Internal Website Search

1-10 of 19 resultsRefresh
98

javax.persistence.PostLoad

javax.persistence Annotation PostLoad Target: Callback methods Is used to specify callback methods for the corresponding lifecycle event. This annotation may be applied to methods of an entity class, a mapped superclass, or a callback listener class. Since: JPA 1.0 Learn how to define and use JPA
44

JPA Lifecycle Events

() {} @PostLoad void onPostLoad() {} @PreUpdate void onPreUpdate() {} @PostUpdate void ... flush). @PostLoad - after an entity has been retrieved from the database. @PreUpdate ... o) {} @PostLoad void onPostLoad(Object o) {} @PreUpdate void onPreUpdate(Object o
22

Handling deleted references

initial values and no version. To simplify the use case I added a @PostLoad method to the User class ... and create a new profile instance: @PostLoad private void checkProfileAvailable ... ? This would make life so much easier since one can simply add @PostLoad method and recheck
18

Adding EntityListener Throws Unexpected Internal Exception

.. } and listener like below: public class MyListener {     @PostLoad     public void onPostLoad(Object o) {         Logger.info("PostLoad call.");     }     @PreUpdate     public void onPreRemove
10

setPostLoad(postLoad)

Method javax.jdo.FetchGroup FetchGroup setPostLoad( boolean postLoad ) Set the post-load property of this FetchGroup. Parameters: postLoad - Returns: the FetchGroup Throws: JDOUserException - if the FetchGroup is unmodifiable Since: JDO 2.2
9

postLoad(event)

Method javax.jdo.listener.LoadLifecycleListener void postLoad( InstanceLifecycleEvent event ) Invoked whenever a persistent instance is loaded from the data store. It is called after the method LoadCallback.jdoPostLoad is invoked on the persistent instance. Parameters: event - the load event. Since: JDO 2.0
9

FetchGroup.postLoad

Annotation Element javax.jdo.annotations.FetchGroup String postLoad Whether we should load this group as part of the post load process. Returns: whether we should load this group as part of the post load process. Default value: "" Since: JDO 2.1
1

javax.jdo.FetchGroup

(boolean postLoad) Set the post-load property of this FetchGroup. Set the post-load property of this FetchGroup. Parameters: postLoad - Returns: the FetchGroup Throws: JDOUserException
0

javax.jdo.annotations.FetchGroup

String postLoad Whether we should load this group as part of the post load process
0

javax.jdo.listener.LoadLifecycleListener

javax.jdo.listener Interface LoadLifecycleListener Superinterfaces: InstanceLifecycleListener This interface is implemented by listeners to be notified of load events. Since: JDO 2.0 void postLoad( InstanceLifecycleEvent event) Invoked whenever a persistent instance is loaded from the data store

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support