ObjectDB ObjectDB

Internal Website Search

11-20 of 151 resultsRefresh
28

Internal exception on flush

); em.flush(); loadedgraph = instance; } [ObjectDB 2.3.3_06] Unexpected exception (Error 990 ... ) at com.objectdb.o.OBM.flush(OBM.java:739) at rbccm.felix.objectdb.workflow.ObjectDbGraphContainer
22

JPA Lifecycle Events

flush). @PostLoad - after an entity has been retrieved from the database. @PreUpdate ... the database (during commit or flush). @PreRemove - when an entity is marked for removal in the EntityManager. @PostRemove - after deleting an entity from the database (during commit or flush). An entity
22

Entity Management Settings

the persistence context (until commit or flush), regardless of this setting. The level2 attribute specifies ... during commit and flush. Note: Both JPA and JDO require cascading the persist operation twice, first during persist and later on commit or flush. Usually, commit time only cascade (which is more efficient
14

javax.persistence.TypedQuery

result Since: JPA 2.0 FlushModeType getFlushMode() Get the flush mode in effect for the query execution. 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
12

Index Definition

. A PersistenceException is thrown on commit (or flush) if different entities have the same value in
12

Working with JPA Entity Objects

been flushed to the database are discarded. Detached entity objects are discussed in more detail in the Detached Entities section.
12

Locking in JPA

field. During commit (and flush), ObjectDB checks every database object that has to be updated or
12

javax.persistence.Query

manual. FlushModeType getFlushMode() Get the flush mode in effect for the query execution. 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 Map<String
12

javax.persistence.FlushModeType

<FlushModeType> Flush mode setting. When queries are executed within a transaction, if FlushModeType.AUTO is set on the Query or TypedQuery object, or if the flush mode setting for the persistence context is AUTO (the default) and a flush mode setting has not been specified for the Query or TypedQuery
1

javax.jdo.JDOEntityManager

might flush instances as if flush were called, but it is not required to do so. If an optimistic ... , causing all managed entities to become detached. Changes made to entities that have not been flushed ... : the FetchPlan Since: JDO 2.0 FlushModeType getFlushMode() Get the flush mode that applies to all objects

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