ObjectDB ObjectDB

Internal Website Search

91-100 of 200 resultsRefresh
14

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
13

evictAll() behavior

the current PersistenceManager - it is useful only to see changes that have been committed by ... one transaction and i want to reclaim memory after commit or even better after flush but I ... size before commit= " + pm.getManagedObjects().size()); pm.currentTransaction().commit(); pm
13

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
12

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
11

Insertion Speed Rate and Batch Load

. Attached a modified version of your TestObjectDB.java file that commits once per 10,000 entity objects ... )             {                 em.getTransaction().commit();                 em.getTransaction().begin();             }         }         em.getTransaction().commit();         long time
11

Performance in large transactions

= create10000Entites(); entityManager.merge(entities); x.end += 1; transaction.commit ... = create10000Entites();     entityManager.merge(entities);     //query     x.end += 1; } transaction.commit ... transaction, i.e. when there are no updates to the database since the last commit, is more efficient
2

javax.persistence.RollbackException

: Serializable Thrown by the persistence provider when EntityTransaction.commit() fails. Since: JPA 1.0 See Also: javax.persistence.EntityTransaction.commit() RollbackException() Constructs a new
0

setDetachAllOnCommit(flag)

the cache after commit is defined by the retainValues flag. With this flag set to true ... at commit. Loading fields and unloading fields required by the fetch plan is done after calling
0

javax.jdo.annotations.ForeignKey

Whether this foreign key is deferred (constraint is checked only at commit). Whether this foreign key is deferred (constraint is checked only at commit). Returns: whether this foreign key is deferred
0

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

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