ObjectDB ObjectDB

Internal Website Search

61-70 of 143 resultsRefresh
5

addRegisterClassListener(crl)

Method javax.jdo.spi.JDOImplHelper void addRegisterClassListener( RegisterClassListener crl ) Add the specified RegisterClassListener to the listener list. Parameters: crl - the listener to be added Since: JDO 1.0
5

getPersistenceManagerFactory(overrides, name, resourceLoader, pmfLoader)

.listener.InstanceLifecycleListener, and {pcClasses} is an optional comma- or whitespace-delimited list ... listener class. JDO implementations are permitted to define key values of their own. Any key values not
4

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: http://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
3

javax.persistence.PostRemove

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

javax.jdo.JDOUserCallbackException

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

getPersistentInstance()

Method javax.jdo.listener.InstanceLifecycleEvent Object getPersistentInstance() Returns the persistent instance involved in the event. Returns: The persistent instance involved in the event, or null if there was none. Since: JDO 2.0 See Also: "Section 12.15, Java Data Objects 2.0 Specification"
3

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
3

getEventType()

Method javax.jdo.listener.InstanceLifecycleEvent int getEventType() Returns the event type that triggered this event. Returns: the event type Since: JDO 2.0
3

jdoPreStore()

Method javax.jdo.listener.StoreCallback void jdoPreStore() Called before the values are stored from this instance to the data store. Data store fields that might have been affected by modified non-persistent fields should be updated in this method. This method is modified by the enhancer
3

getDetachedInstance()

Method javax.jdo.listener.InstanceLifecycleEvent Object getDetachedInstance() Returns the detached instance involved in the event. Returns: The detached instance involved in the event, or null if there was none. Since: JDO 2.0 See Also: "Section 12.15, Java Data Objects 2.0 Specification"

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