Fast Object Database for Java - with JPA/JDO support

Internal Website Search

81-90 of 143 resultsRefresh
3

postAttach(event)

Method javax.jdo.listener.AttachLifecycleListener void postAttach( InstanceLifecycleEvent event ) This method is called after a detached instance is attached, via the javax.jdo.PersistenceManager.makePersistent method. The source instance is the corresponding persistent instance in the cache
3

InstanceLifecycleEvent.DIRTY

Static Field javax.jdo.listener.InstanceLifecycleEvent int DIRTY Since: JDO 2.0
3

preClear(event)

Method javax.jdo.listener.ClearLifecycleListener void preClear( InstanceLifecycleEvent event ) This method is called before the implementation calls the instance method ClearCallback.jdoPreClear and before it clears the values in the instance to their Java default values. This happens
3

InstanceLifecycleEvent.DETACH

Static Field javax.jdo.listener.InstanceLifecycleEvent int DETACH Since: JDO 2.0
3

postClear(event)

Method javax.jdo.listener.ClearLifecycleListener void postClear( InstanceLifecycleEvent event ) This method is called after the ClearCallback.jdoPreClear method is invoked on the instance and the fields have been cleared by the JDO implementation. Parameters: event - the clear event. Since: JDO 2.0
3

InstanceLifecycleEvent.DELETE

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

postCreate(event)

Method javax.jdo.listener.CreateLifecycleListener void postCreate( InstanceLifecycleEvent event ) Invoked whenever an instance is made persistent via a call to javax.jdo.PersistenceManager.makePersistent or during persistence by reachability. Parameters: event - the create event. Since: JDO 2.0
3

javax.persistence.PostPersist

javax.persistence Annotation PostPersist 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
3

InstanceLifecycleEvent.CREATE

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

preDelete(event)

Method javax.jdo.listener.DeleteLifecycleListener void preDelete( InstanceLifecycleEvent event ) Invoked whenever a persistent instance is deleted, for example during javax.jdo.PersistenceManager.deletePersistent. Access to field values within this call are permitted. This method is called before

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