Home » Search

About event

11-20 of 139Refresh
JDO Doc
62

preDelete(event)

Method javax.jdo.listener.DeleteLifecycleListener void preDelete(   InstanceLifecycleEvent event ) Invoked whenever a persistent instance is deleted, for example during javax.jdo.PersistenceManager ... the instance callback DeleteCallback.jdoPreDelete. Parameters: event - the delete event. Since: JDO 2.0
JDO Doc
62

preDetach(event)

Method javax.jdo.listener.DetachLifecycleListener void preDetach(   InstanceLifecycleEvent event ) This method is called during the execution of javax.jdo.PersistenceManager.detachCopy before ... on the instance to be detached. Parameters: event - the detach event. Since: JDO 2.0
JDO Doc
62

preStore(event)

Method javax.jdo.listener.StoreLifecycleListener void preStore(   InstanceLifecycleEvent event ) Invoked whenever a persistent instance is stored, for example during javax.jdo.PersistenceManager ... is invoked. Parameters: event - the store event. Since: JDO 2.0
JDO Doc
60

postDirty(event)

Method javax.jdo.listener.DirtyLifecycleListener void postDirty(   InstanceLifecycleEvent event ) Invoked whenever a persistent instance is first made dirty, during an operation that modifies the value of a persistent or transactional field. Called after the value is changed. Parameters: event - Since: JDO 2.0
JDO Doc
60

preDirty(event)

Method javax.jdo.listener.DirtyLifecycleListener void preDirty(   InstanceLifecycleEvent event ) Invoked whenever a persistent instance is first made dirty, during an operation that modifies the value of a persistent or transactional field. Called before the value is changed. Parameters: event - Since: JDO 2.0
JDO Doc
60

registerClass(event)

Method javax.jdo.spi.RegisterClassListener void registerClass(   RegisterClassEvent event ) This method gets called when a persistence-capable class is registered. Parameters: event - a RegisterClassEvent instance describing the registered class plus metadata. Since: JDO 1.0
JDO Doc
59

Constants.OPTION_PREDIRTY_EVENT

Static Field javax.jdo.Constants String OPTION_PREDIRTY_EVENT "javax.jdo.option.PreDirtyEvent" Since: JDO 2.1 See Also: PersistenceManagerFactory.supportedOptions()
Manual
48

Advanced JPA Topics

Describes advanced JPA topics - detached entity objects, lock management and entity lifecycle events.
Manual
37

JPA Primary Key

system that detects events from various sensors and stores the details in a database. Each event is represented by an Event entity object that holds time, sensor ID and additional details. Suppose that queries that retrieve all the events of a specified sensor in a specified period are common and return
Forum
24

Entity listener - event instead of object

store separate entity for given event. Right now I'm using BaseEntity which contains @ElementCollection private Set activities; This way I can add events to given object without using EM ...     public final boolean onPreUpdate(PreUpdateEvent event) {         try {             // TODO : need