ObjectDB ObjectDB

Internal Website Search

11-20 of 200 resultsRefresh
127

How to Use a SF with extended Persistence Context?

Hey, I have a problem to use SF with an Extended Persistence Context Regarding to Transactions. The need for an extended persistence Context emerges for the need to create queries in advance for fast ... with an extended persistence context. the GuestServlet holds reference to a SL called GuestUpdater
25

JPA Lifecycle Events

and no more callback methods are invoked for that operation. Listeners and External Callback Methods External callback methods are defined outside entity classes in a special listener class: public class ... ) {} @PostRemove void onPostRemove(Object o) {} } External callback methods (in a listener class
2

[ODB1] Chapter 5 - JDO Connections

, the call to getClass() should be replaced by some other expression (e.g. MyClass.class) in a static context (i.e ... to be running on a machine named host (could be domain name or ip address) and listening ... machine) and listening to the default port (6136): Properties properties = new Properties
2

removeInstanceLifecycleListener(listener)

( InstanceLifecycleListener listener ) Remove the parameter listener instance from the list of instance lifecycle event listeners set as the initial listeners for each PersistenceManager created by ... is configurable (before the first time getPersistenceManager is called). Parameters: listener - the listener instance to be removed Since: JDO 2.0
2

addInstanceLifecycleListener(listener, classes)

Method javax.jdo.PersistenceManager void addInstanceLifecycleListener( InstanceLifecycleListener listener, Class... classes ) Adds the listener instance to the list of lifecycle event listeners ... interface. Parameters: listener - the lifecycle listener classes - the classes of interest to the listener Since: JDO 2.0
2

javax.jdo.JDOEntityManager

1.0 void addInstanceLifecycleListener(InstanceLifecycleListener listener, Class... classes) Adds the listener instance to the list of lifecycle event listeners. Adds the listener instance to the list of lifecycle event listeners. The classes parameter identifies all of the classes
2

removeInstanceLifecycleListener(listener)

Method javax.jdo.PersistenceManager void removeInstanceLifecycleListener( InstanceLifecycleListener listener ) Removes the listener instance from the list of lifecycle event listeners. Parameters: listener - the listener instance to be removed Since: JDO 2.0
2

Constants.PROPERTY_PREFIX_INSTANCE_LIFECYCLE_LISTENER

Static Field javax.jdo.Constants String PROPERTY_PREFIX_INSTANCE_LIFECYCLE_LISTENER Prefix used to configure javax.jdo.listener.InstanceLifecycleListener instances externally. To configure ... and append the fully qualified listener class name, then set its value to the comma- or whitespace-delimited
2

Constants.PROPERTY_INSTANCE_LIFECYCLE_LISTENER

Static Field javax.jdo.Constants String PROPERTY_INSTANCE_LIFECYCLE_LISTENER "javax.jdo.listener.InstanceLifecycleListener" Since: JDO 2.1 See Also: PersistenceManagerFactory.addInstanceLifecycleListener(javax.jdo.listener.InstanceLifecycleListener,Class[]) PersistenceManagerFactory.removeInstanceLifecycleListener(javax.jdo.listener.InstanceLifecycleListener)
2

javax.jdo.listener.InstanceLifecycleListener

javax.jdo.listener Interface InstanceLifecycleListener Subinterfaces: AttachLifecycleListener ... , DirtyLifecycleListener, LoadLifecycleListener, StoreLifecycleListener All lifecycle listeners extend from ... can be defined to use a life-cycle listener pattern instead of having the domain class implement the callback interface(s). 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