ObjectDB ObjectDB

Internal Website Search

11-20 of 31 resultsRefresh
15

Bug: ClassCastException by retrieval

.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.EntityTransaction ... = emf.createEntityManager();   EntityTransaction trans = em.getTransaction();   //* block-1
15

find() cost unreasonable time!

; import javax.persistence.EntityManager; import javax.persistence.EntityTransaction; import javax ... iBlock; private static Random rd; private static EntityTransaction trans = SingleManager.getTrans
15

Unexpected NoSuchFieldError exception

.EntityTransaction$begin.call(Unknown Source) at app.database.ObjectDbDatabase.transact(ObjectDbDatabase ... .persistence.EntityTransaction$begin.call(Unknown Source) at app.database.ObjectDbDatabase.transact
15

Performance in large transactions

(FlushModeType.AUTO); EntityTransaction transaction = entityManager.getTransaction ... ); EntityTransaction transaction = entityManager.getTransaction(); transaction.begin (); for (i = 0; i <100
15

javax.persistence.EntityManager

- if the entity state cannot be accessed Since: JPA 1.0 EntityTransaction getTransaction() Return the resource-level EntityTransaction object. Return the resource-level EntityTransaction object. The EntityTransaction instance may be used serially to begin and commit multiple transactions. Returns
13

getTransaction()

Method javax.persistence.EntityManager EntityTransaction getTransaction() Return the resource-level EntityTransaction object. The EntityTransaction instance may be used serially to begin and commit multiple transactions. Returns: EntityTransaction instance Throws: IllegalStateException - if invoked on a JTA entity manager Since: JPA 1.0
9

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
6

javax.persistence.LockModeType

the PessimisticLockException and ensure that the JTA transaction or EntityTransaction
3

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

.transaction == null"); } else { EntityTransaction t = em.getTransaction ... !"); } else { EntityTransaction t = em.getTransaction(); log_info($i
1

javax.jdo.JDOEntityManager

to the UTC Date as seen by the server Since: JDO 2.1 EntityTransaction getTransaction() Return the resource-level EntityTransaction object. Return the resource-level EntityTransaction object. The EntityTransaction instance may be used serially to begin and commit multiple transactions. Returns

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