Home » Search

About flush

11-20 of 135Refresh
Manual
23

Entity Management Settings

context (until commit or flush), regardless of this setting. The level2 attribute specifies the size ... whether cascading (as a result of either global or local setting) should be applied during commit and flush ... on commit or flush. Usually, commit time only cascade (which is more efficient than double cascade
Manual
23

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
JPA Doc
15

javax.persistence.TypedQuery

of the ObjectDB/JPA 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
Manual
13

Index Definition

. A PersistenceException is thrown on commit (or flush) if different entities have the same value in a unique
Manual
13

Locking in JPA

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

Working with JPA Entity Objects

that have not been flushed to the database are discarded. Detached entity objects are discussed in more detail in the Detached Entities section.
JPA Doc
13

javax.persistence.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
JPA Doc
13

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
JPA Doc
12

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
JDO Doc
10

javax.jdo.PersistenceManager

the consistency 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 ... of instances to evict Since: JDO 2.1 void flush() Flushes all dirty, new, and deleted instances