ObjectDB ObjectDB

Internal Website Search

41-50 of 99 resultsRefresh
24

"Attempt to lock a non entity object" error

object" session.rollback() is somehow causing the problem (found through debugging ... //----------------------------------------------------------- public void doCancelEdit() { try {     session.rollback(); . . . } //doCancelEdit ... back a transaction - either by invocation of rollback or by a commit failure." Quite different behavior from what I
4

javax.persistence.NoResultException

transaction, if one is active, to be marked for rollback. Since: JPA 1.0 See Also: Query
4

javax.persistence.NonUniqueResultException

. This exception will not cause the current transaction, if one is active, to be marked for rollback. Since: JPA 1
4

javax.persistence.PessimisticLockException

transaction, if one is active, will be marked for rollback. Since: JPA 2.0 PessimisticLockException
4

javax.persistence.EntityNotFoundException

, if one is active, will be marked for rollback. Since: JPA 1.0 See Also: EntityManager.getReference
4

javax.persistence.QueryTimeoutException

is rolled back. The current transaction, if one is active, will be not be marked for rollback. Since: JPA 2
4

javax.persistence.PersistenceException

, and QueryTimeoutException will cause the current transaction, if one is active, to be marked for rollback
4

javax.persistence.OptimisticLockException

, if one is active, will be marked for rollback. Since: JPA 1.0 See Also: EntityManager.find(Class
0

javax.jdo.listener.ClearLifecycleListener

and rollback with RestoreValues false. The method is called during any state transition to hollow. Non
0

preClear(event)

during an application call to evict, and in afterCompletion for commit with RetainValues false and rollback

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