Home » Search

About commit

81-90 of 200Refresh
JDO Doc
3

setIsolationLevel(level)

to high are: read-uncommitted read-committed repeatable-read snapshot serializable Parameters: level ... _UNCOMMITTED Constants.TX_READ_COMMITTED Constants.TX_REPEATABLE_READ Constants.TX_SNAPSHOT Constants.TX_SERIALIZABLE
JDO Doc
3

setRollbackOnly()

Method javax.jdo.Transaction void setRollbackOnly() Sets the rollback-only status of the transaction to true. After this flag is set to true, the transaction can no longer be committed, and any attempt to commit the transaction will throw JDOFatalDataStoreException. Since: JDO 2.0
JDO Doc
3

setTransactionIsolationLevel(level)

are: read-uncommitted read-committed repeatable-read snapshot serializable Parameters: level ... _UNCOMMITTED Constants.TX_READ_COMMITTED Constants.TX_REPEATABLE_READ Constants.TX_SNAPSHOT Constants.TX_SERIALIZABLE
JDO Doc
3

Unique.deferred

Annotation Element javax.jdo.annotations.Unique String deferred Whether this unique constraint is deferred until commit. Returns: whether this unique constraint is deferred until commit Default value: "" Since: JDO 2.1
Forum
3

OutofMemory error with Object DB 2.0

and inserts 200 records at a time. The transaction obtained from the PersistentManager is commited ... after every commit or how do I resolve this issue. Please help ... .commit(EMImpl.java:279) at com.anritsu.eu.database.DatabaseImplementation.storeItem(Unknown Source
Forum
3

evictAll() behavior

PersistenceManager - it is useful only to see changes that have been committed by other persistence managers ... of object in one transaction and i want to reclaim memory after commit or even better after flush ... this   System.out.println("Cache size before commit= " + pm.getManagedObjects().size()); pm.currentTransaction
Forum
3

Internal exception when updating date filed (TemporalType.DATE)

Hello! ObjectDB version 2.5.3_02. I get internal exception when commiting update Date field (javax ... to commit transaction: (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:290 ... ) at com.objectdb.o.OBM.bJ(OBM.java:729) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:287) ... 2
Forum
2

Database size is much larger than expected (x2)

Exception in thread "main" [ObjectDB 2.2.9_03] javax.persistence.RollbackExcepti on Failed to commit transaction: Java heap space (error 613)         at com.objectdb.jpa.EMImpl.commit(EMImpl.java:277 ... )         at com.objectdb.jpa.EMImpl.commit(EMImpl.java:274)         ... 2 more Question 1 : Why objectdb cause
Forum
2

Insertion Speed Rate and Batch Load

version of your TestObjectDB.java file that commits once per 10,000 entity objects. On Intel Core 2 Quad ... )             {                 em.getTransaction().commit();                 em.getTransaction().begin();             }         }         em.getTransaction().commit();         long time = System.currentTimeMillis
Forum
2

Performance in large transactions

= create10000Entites(); entityManager.merge(entities); x.end += 1; transaction.commit ... .commit(); transaction.close(); entityManager.close(); Can you give us help you understand it? Now ... to the database since the last commit, is more efficient. If there are updates, ObjectDB may have to apply