Internal Website Search

11-20 of 168 resultsRefresh

Entity listener - event instead of object

. Because of that, I can't store separate entity for given event. Right now I'm using BaseEntity ... ; activities; This way I can add events to given object without using EM to persist new object ... ="pre-java"> @Override     public final boolean onPreUpdate(PreUpdateEvent event

JPA Primary Key

> As an example, consider a real time 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

postStore(event)

">InstanceLifecycleEvent event) event - the store event.

preAttach(event)

.listener">InstanceLifecycleEvent event) Parameters: event - the attach event.

postAttach(event)

.listener">InstanceLifecycleEvent event) event - the attach event.

preDirty(event)

">InstanceLifecycleEvent event) Invoked ... ="parameters"> Parameters: event

postDirty(event)

">InstanceLifecycleEvent event) Parameters: event

registerClass(event)

 event) This method gets called ... : event - a RegisterClassEvent

Constants.OPTION_PREDIRTY_EVENT

Static Field javax.jdo.ConstantsString OPTION_PREDIRTY_EVENT "javax.jdo.option

[ODB1] Chapter 3 - Persistent Classes

.jdo.InstanceCallbacks interface represents events in a persistent object's lifecycle. By implementing the InstanceCallbacks interface, a persistent class can handle these events ... when the persistent fields are going to be cleared at transaction end (for example on rollback). This event