ObjectDB ObjectDB

Internal Website Search

41-50 of 151 resultsRefresh
18

Remove an entity which attributes were changed - OptimisticLockException

are local in memory and will fail with OptimisticLockException if user 1 is committing or flushing ... two different operations on the same object by two different users. Note that user 1 may flush the changes implicitly by running a query. You can run specific queries with COMMIT flush mode to avoid
3

FlushModeType.AUTO

Enum Constant javax.persistence.FlushModeType AUTO (Default) Flushing to occur at query execution. Since: JPA 1.0
3

getFlushMode()

Method javax.persistence.EntityManager FlushModeType getFlushMode() Get the flush mode that applies to all objects contained in the persistence context. Returns: flushMode Since: JPA 1.0
3

javax.persistence.OrderColumn

is responsible for updating the ordering upon flushing to the database to reflect any insertion, deletion
3

javax.persistence.PessimisticLockException

. This exception may be thrown as part of an API call, a flush or at commit time. The current
0

javax.jdo.Transaction

to flushing instances to the data store. The afterCompletion method is called after performing state
0

deletePersistentAll()

classes in the cache are first flushed to the datastore. Instances in the cache or brought into
0

preStore(event)

Method javax.jdo.listener.StoreLifecycleListener void preStore( InstanceLifecycleEvent event ) Invoked whenever a persistent instance is stored, for example during javax.jdo.PersistenceManager.flush or javax.jdo.Transaction.commit. It is called before the method StoreCallback.jdoPreStore is invoked. Parameters: event - the store event. Since: JDO 2.0
0

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
0

setSynchronization(sync)

Method javax.jdo.Transaction void setSynchronization( Synchronization sync ) The user can specify a Synchronization instance to be notified on transaction completions. The beforeCompletion method is called prior to flushing instances to the data store. The afterCompletion method is called

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