ObjectDB ObjectDB

Internal Website Search

31-40 of 99 resultsRefresh
6

find(entityClass, primaryKey, lockMode)

failure causes transaction-level rollback the LockTimeoutException will be thrown if the database locking failure causes only statement-level rollback Parameters: entityClass - entity class primaryKey
6

find(entityClass, primaryKey, lockMode, properties)

: the PessimisticLockException will be thrown if the database locking failure causes transaction-level rollback ... rollback If a vendor-specific property or hint is not recognized, it is silently ignored. Portable
6

lock(entity, lockMode)

if the database locking failure causes transaction-level rollback the LockTimeoutException will be thrown if the database locking failure causes only statement-level rollback Parameters: entity - entity instance
6

getRollbackOnly()

Method javax.persistence.EntityTransaction boolean getRollbackOnly() Determine whether the current resource transaction has been marked for rollback. Returns: boolean indicating whether the transaction has been marked for rollback Throws: IllegalStateException - if isActive() is false Since: JPA 1.0
6

javax.persistence.LockTimeoutException

not result in transaction rollback. This exception may be thrown as part of an API call, at, flush or at commit time. The current transaction, if one is active, will be not be marked for rollback
6

javax.persistence.EntityExistsException

and the entity already exists. The current transaction, if one is active, will be marked for rollback ... time. The current transaction, if one is active, will be marked for rollback. Since: JPA 1.0
0

find(entityClass, primaryKey, lockMode, properties)

: the PessimisticLockException will be thrown if the database locking failure causes transaction-level rollback ... rollback If a vendor-specific property or hint is not recognized, it is silently ignored. Portable
0

setRestoreValues(restoreValues)

Method javax.jdo.PersistenceManagerFactory void setRestoreValues( boolean restoreValues ) Set the default value for the RestoreValues property. If true, at rollback, fields of newly persistent ... types are restored to their values as of the beginning of the transaction. If false, at rollback
0

javax.jdo.PersistenceManagerFactory

for the RestoreValues property. Set the default value for the RestoreValues property. If true, at rollback ... of the transaction. If false, at rollback, the values of fields of newly persistent instances are unchanged
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 ... of the transaction. If false, at rollback, the values of fields of newly persistent instances are unchanged

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