ObjectDB ObjectDB

Internal Website Search

31-40 of 200 resultsRefresh
13

Unexpected NoSuchFieldError exception

.9_09] javax.persistence.PersistenceException Attempt to begin a new transaction when a transaction is active (error 612) at com.objectdb.jpa.EMImpl.begin(EMImpl.java:275) at javax.persistence.EntityTransaction$begin.call(Unknown Source) at app.database.ObjectDbDatabase.transact(ObjectDbDatabase
12

Selective merge/cascade of detatched entity

to: EntityManager em = emf.getEntityManager(); em.getTransaction().begin(); Company company = new Company("new ... : EntityManager em = emf.getEntityManager(); em.getTransaction().begin(); Company company = new Company("new"); em.persist(company); em.getTransaction().commit(); em.getTransaction.begin(); for (Salesman s
2

javax.persistence.EntityManager

. The EntityTransaction instance may be used serially to begin and commit multiple transactions. Returns
0

javax.jdo.spi.PersistenceCapable

, this method returns the object id as of the beginning of the current transaction. Returns: a copy of the ObjectId of this instance as of the beginning of the transaction. Since: JDO 1.0
0

setRestoreValues(restoreValues)

instances are restored to their values as of the beginning of the transaction, and the instances revert ... types are restored to their values as of the beginning of the transaction. If false, at rollback
0

jdoGetObjectId()

the transaction, this method returns the object id as of the beginning of the current transaction. Returns: a copy of the ObjectId of this instance as of the beginning of the transaction. Since: JDO 1.0
0

javax.jdo.JDOEntityManager

one or more of the application key fields, then this method returns the identity as of the beginning ... . The EntityTransaction instance may be used serially to begin and commit multiple transactions. Returns
0

javax.jdo.PersistenceManagerFactory

, fields of newly persistent instances are restored to their values as of the beginning ... of primitive types and immutable reference types are restored to their values as of the beginning
0

setRestoreValues(restoreValues)

Method javax.jdo.Transaction void setRestoreValues( boolean restoreValues ) If true, at rollback, fields of newly persistent instances are restored to their values as of the beginning ... types and immutable reference types are restored to their values as of the beginning
0

getObjectId(pc)

of the beginning of the transaction. Since: JDO 2.0 See Also: PersistenceManager.getObjectId(Object pc

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