Fast Object Database for Java - with JPA/JDO support

Internal Website Search

11-20 of 159 resultsRefresh
74

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
74

postStore(event)

Method javax.jdo.listener.StoreLifecycleListener void postStore( InstanceLifecycleEvent event ) Invoked whenever a persistent instance is stored, for example during javax.jdo.PersistenceManager.flush or javax.jdo.Transaction.commit. It is called after the field values have been stored. Parameters: event - the store event. Since: JDO 2.0
74

postDetach(event)

Method javax.jdo.listener.DetachLifecycleListener void postDetach( InstanceLifecycleEvent event ) This method is called during the execution of javax.jdo.PersistenceManager.detachCopy ... on the detached instance. Parameters: event - the detach event. Since: JDO 2.0
73

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
73

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
73

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
72

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()
33

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
32

Advanced JPA Topics

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

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

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