ObjectDB ObjectDB

Internal Website Search

81-90 of 142 resultsRefresh
4

javax.persistence.PrePersist

javax.persistence Annotation PrePersist 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
0

jdoPreDelete()

Method javax.jdo.listener.DeleteCallback void jdoPreDelete() Called before the instance is deleted. This method is called before the state transition to persistent-deleted or persistent-new-deleted. Access to field values within this call are valid. Access to field values
0

InstanceLifecycleEvent.CLEAR

Static Field javax.jdo.listener.InstanceLifecycleEvent int CLEAR Since: JDO 2.0
0

InstanceLifecycleEvent.ATTACH

Static Field javax.jdo.listener.InstanceLifecycleEvent int ATTACH Since: JDO 2.0
0

InstanceLifecycleEvent.DELETE

Static Field javax.jdo.listener.InstanceLifecycleEvent int DELETE Since: JDO 2.0
0

InstanceLifecycleEvent.CREATE

Static Field javax.jdo.listener.InstanceLifecycleEvent int CREATE Since: JDO 2.0
0

jdoPreDetach()

Method javax.jdo.listener.DetachCallback void jdoPreDetach() This method is called during the execution of javax.jdo.PersistenceManager.detachCopy on the persistent instance before the copy is made. Since: JDO 2.0
0

jdoPostDetach(detached)

Method javax.jdo.listener.DetachCallback void jdoPostDetach( Object detached ) This method is called during the execution of javax.jdo.PersistenceManager.detachCopy on the detached instance after the copy is made. Parameters: detached - The corresponding (attached) persistent instance. Since: JDO 2.0
0

preStore(event)

Method javax.jdo.listener.StoreLifecycleListener void preStore( InstanceLifecycleEvent event ) Invoked whenever a persistent instance is stored, for example during javax.jdo.PersistenceManager.flush or javax.jdo.Transaction.commit. It is called before the method StoreCallback.jdoPreStore is invoked. Parameters: event - the store event. Since: JDO 2.0
0

postStore(event)

Method javax.jdo.listener.StoreLifecycleListener void postStore( InstanceLifecycleEvent event ) Invoked whenever a persistent instance is stored, for example during javax.jdo.PersistenceManager.flush or javax.jdo.Transaction.commit. It is called after the field values have been stored. Parameters: event - the store event. Since: JDO 2.0

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