ObjectDB ObjectDB

Internal Website Search

21-30 of 151 resultsRefresh
11

javax.persistence.EntityManager

entities to become detached. Changes made to entities that have not been flushed to the database will not ... back PersistenceException - if an unsupported lock call is made Since: JPA 2.0 void flush() Synchronize ... - if the flush fails Since: JPA 1.0 CriteriaBuilder getCriteriaBuilder() Return an instance
7

setFlushMode(flushMode)

Method javax.persistence.TypedQuery TypedQuery<X> setFlushMode( FlushModeType flushMode ) Set the flush mode type to be used for the query execution. The flush mode type applies to the query regardless of the flush mode type in use for the entity manager. Parameters: flushMode - flush mode Returns: the same query instance Since: JPA 2.0
7

getFlushMode()

Method javax.persistence.Query FlushModeType getFlushMode() Get the flush mode in effect for the query execution. If a flush mode has not been set for the query object, returns the flush mode in effect for the entity manager. Returns: flush mode Since: JPA 2.0
7

setFlushMode(flushMode)

Method javax.persistence.Query Query setFlushMode( FlushModeType flushMode ) Set the flush mode type to be used for the query execution. The flush mode type applies to the query regardless of the flush mode type in use for the entity manager. Parameters: flushMode - flush mode Returns: the same query instance Since: JPA 1.0
6

Use temporary files to enable very large transactions

the first level cache (by flush() and detach()). But an array of bytes, any ObjectDB memory ... We managed to add a new option of using temporary files for flush / commit, as suggested in #6 ... _06). To enable temporary files in transaction flush/commit set a new system property
5

setFlushMode(flushMode)

Method javax.persistence.EntityManager void setFlushMode( FlushModeType flushMode ) Set the flush mode that applies to all objects contained in the persistence context. Parameters: flushMode - flush mode Since: JPA 1.0
5

FlushModeType.COMMIT

Enum Constant javax.persistence.FlushModeType COMMIT Flushing to occur at transaction commit. The provider may flush at other times, but is not required to. Since: JPA 1.0
1

javax.jdo.PersistenceManager

of instances in the cache against the datastore. An implementation might flush instances as if flush were called, but it is not required to do so. If an optimistic transaction is active, this method ... of instances to evict Since: JDO 2.1 void flush() Flushes all dirty, new, and deleted instances to the data
0

javax.jdo.listener.StoreLifecycleListener

during javax.jdo.PersistenceManager.flush or javax.jdo.Transaction.commit. Invoked whenever a persistent instance is stored, for example during javax.jdo.PersistenceManager.flush or javax.jdo.Transaction ... is stored, for example during javax.jdo.PersistenceManager.flush or javax.jdo.Transaction.commit
0

checkConsistency()

. An implementation might flush instances as if flush were called, but it is not required

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