ObjectDB ObjectDB

Internal Website Search

61-70 of 142 resultsRefresh
21

Database is erased after deploying a new web application version

manager? Should I set some kind of listener? Yotam Yotam Boaz You can set a listener for creating and destroying the EntityManagerFactory: https://www.objectdb.com/tutorial/jpa/eclipse/web/listener ... . On that example the listener is defined in a web.xml file (added automatically by Eclipse). Alternatively
4

javax.persistence.PreUpdate

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

removeRegisterClassListener(crl)

Method javax.jdo.spi.JDOImplHelper void removeRegisterClassListener( RegisterClassListener crl ) Remove the specified RegisterClassListener from the listener list. Parameters: crl - the listener to be removed Since: JDO 1.0
0

InstanceLifecycleEvent(source, type)

Constructor javax.jdo.listener.InstanceLifecycleEvent InstanceLifecycleEvent( Object source, int type ) Creates a new event object with the specified source and type. Parameters: source - the instance that triggered the event type - the event type Since: JDO 2.0
0

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
0

postDelete(event)

Method javax.jdo.listener.DeleteLifecycleListener void postDelete( InstanceLifecycleEvent event ) Invoked whenever a persistent instance is deleted, for example during javax.jdo.PersistenceManager.deletePersistent. This method is called after the instance transitions to persistent-deleted. Access
0

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
0

javax.jdo.JDOUserCallbackException

This class represents exceptions caused by exceptions thrown during execution of callbacks or listeners
0

jdoPreClear()

Method javax.jdo.listener.ClearCallback void jdoPreClear() Called before the values in the instance are cleared. Transient fields should be cleared in this method. Associations between this instance and others in the runtime environment should be cleared. This method is not modified by the enhancer. Since: JDO 2.0
0

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

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