ObjectDB Database Search

1-24 of 24 results

Setting and Tuning of JPA Queries

on which they were invoked. Flush mode (setFlushMode) Changes made to a database by using an EntityManager ... must be flushed to the database to be visible to the query. The flush policy in JPA is represented by the FlushModeType enum, which has two values: AUTO - Flushes changes before query execution

JPA Lifecycle Events

). @PostPersist : Invoked after a new entity is stored in the database (during a commit or flush operation ... is updated in the database (during a commit or flush operation). @PreRemove : Invoked when an entity ... the database (during a commit or flush operation). An entity class can define callback methods for any

jakarta.persistence.EntityManager

flush . The timing of the flush process depends on the flush mode , which may be set explicitly by calling setFlushMode . For FlushModeType.COMMIT , the persistence context is flushed before ... must also be flushed before execution of any query whose result set would be affected by unflushed modifications

Storing JPA Entities

the clear and flush methods together to save memory during large transactions: em. getTransaction (). begin (); for (int i = 1; i

jakarta.persistence.FlushModeType

Enumerates flush modes recognized by the EntityManager . When queries are executed within a transaction, if 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

ArrayIndexOutOfBoundsException on flush

The following exception was thrown when my app attempted to flush an objectdb database: Caused by: rbccm.felix.framework.ApplicationException: Error flushing graph container at rbccm.felix.objectdb.workflow.ObjectDbGraphContainer. flush (Unknown Source) at rbccm.felix.objectdb.workflow

jakarta.persistence.TypedQuery.setFlushMode(FlushModeType)

;  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: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PessimisticLockException

may be thrown as part of an API call, a flush or at commit time. The current transaction, if one is active

jakarta.persistence.LockTimeoutException

transaction rollback. This exception may be thrown as part of an API call, at, flush or at commit time

jakarta.persistence.EntityManagerFactory

query definition. This includes configuration information such as max results, hints, flush mode, lock

jakarta.persistence.EntityExistsException

the EntityExistsException or another PersistenceException may be thrown at flush or commit time. The current transaction

Memory Leaks after COMMIT operation (checked on versions 2.6.5 & 2.6.6.b01)

(); m_EntityManager. flush (); m_EntityManager.clear(); m_EntityManager.close(); } After executing code ... .getTransaction().commit(); m_DataKeysCache.clear(); m_EntityManager. flush (); m_EntityManager.clear(); } When we completed import data to database we also using following code for flush all data to DB

Duplicate Entity class names causes Exception in Query

demands we flush transaction to db if we wish to see its results   q.setFlushMode(FlushModeType.AUTO ... ", cachedKey.toString());//ObjectDb demands we flush transaction to db if we wish to see its results q

EntityManager refresh problem

object has not been stored yet in the database. If we change the code and add a flush operation ... ;     entityManager. flush ();         

Exception on creation when running multithreaded

are executed on flushed changes that have not been committed yet - this may indicate an ObjectDB ... would be very helpful. support Support Yes, the query was executed on flushed changes and I

ClassCastException of same object type

) at com.objectdb.o.OBM.bG(OBM.java:800) at com.objectdb.o.OBM. flush (OBM.java:735) at org.sportscoring

problem with lazy loading - unittest project attached

commit). Using EntityManager 's flush during the transaction. support Support

Mismatch client-server protocol prefix

during commit or flush  and should indicate an attempt to persist a new entity object with a primary key

Remove of an entry from a @OneToMany collection is not possible if the enhancer is disabled

");   parentEntity.getChildEntityContainer().put("01", childEntity);   entityManager. flush ... .getChildEntityContainer().remove("01");   entityManager. flush ();   entityManager.getTransaction ... . Any change to entity objects after flush is not detected, as demonstrated by a simpler test case

docker documentation

( ) piped.write(13) piped. flush () sleep(100) piped.println( ) piped.write(13) piped. flush () sleep(100) piped.println( ) piped.write(13) piped. flush () } }   Now here's the strange bit, the license url

ObjectDB 2.6.8

after flushing a removed modified entity object. Fixed a  NullPointerExeption on new index building . Fixed a NullPointerExeption on flush ( issue #1840 ). Fixed a bug in using temporary files in

[ObjectDB 2.6.0_04] Unexpected exception (Error 990) com.objectdb.jpa.JpaQuery.getResultList

condition of running a query in a transaction with uncommitted flushed updates, where these flushed updates

[ObjectDB 2.6.7_04] Unexpected exception (Error 990)

you for this report. The stack trace indicates an unexpected condition at the end of a flush

File lock exception on odb$

.createEntityManager(EMF.java:176) at rbccm.felix.objectdb.workflow.ObjectDbInstanceContainer. flush (Unknown Source