About context listener

31-40 of 200Refresh
JDO Doc
24

javax.jdo.listener.AttachCallback

javax.jdo.listener Interface AttachCallback This interface is used to notify instances of attach events. Since: JDO 2.0 void jdoPostAttach(Object attached) This method is called during the execution of javax.jdo.PersistenceManager.makePersistent on the persistent instance after the copy
JDO Doc
24

javax.jdo.listener.ClearCallback

javax.jdo.listener Interface ClearCallback Subinterfaces: InstanceCallbacks This interface is used to notify instances of clear events. Since: JDO 2.0 void jdoPreClear() Called before the values in the instance are cleared. Called before the values in the instance are cleared. Transient fields
JDO Doc
24

javax.jdo.listener.DeleteCallback

javax.jdo.listener Interface DeleteCallback Subinterfaces: InstanceCallbacks This interface is used to notify instances of delete events. Since: JDO 2.0 void jdoPreDelete() Called before the instance is deleted. Called before the instance is deleted. This method is called before the state
JDO Doc
24

javax.jdo.listener.DetachCallback

javax.jdo.listener Interface DetachCallback This interface is used to notify instances of detach events. Since: JDO 2.0 void jdoPostDetach(Object detached) This method is called during the execution of javax.jdo.PersistenceManager.detachCopy on the detached instance after the copy
Manual
22

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
Forum
22

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
Tutorial
17

Step 2: Define a JPA Entity Class

is adding a context listener class that will manage a JPA's EntityManagerFactory representing the ObjectDB database.
Manual
17

Database Server

.Server -conf my_objectdb.conf start The TPC/IP port on which the server listens for new connections ... by an icon in the Windows Tray. Right click the icon and use the context menu to manage the server
Tutorial
17

Step 2: Define a JPA Entity Class

. The next step is adding a context listener class that will manage a JPA's EntityManagerFactory representing the ObjectDB database.
JDO Doc
15

javax.jdo.JDOHelper

the current thread's context class loader to locate the configuration file resource(s). Get the anonymous ... /jdoconfig.xml", using the current thread's context class loader to locate the configuration file resource(s ... context class loader to locate the PersistenceManagerFactory class. Get a PersistenceManagerFactory