ObjectDB ObjectDB

Internal Website Search

11-20 of 200 resultsRefresh
47

PersistenceContextType.TRANSACTION

Enum Constant javax.persistence.PersistenceContextType TRANSACTION Transaction-scoped persistence context Since: JPA 1.0
4

isActive()

Method javax.jdo.Transaction boolean isActive() Returns whether there is a transaction currently active. Returns: true if the transaction is active. Since: JDO 1.0
4

getRollbackOnly()

Method javax.jdo.Transaction boolean getRollbackOnly() Returns the rollback-only status of the transaction. When begun, the rollback-only status is false. Either the application or the JDO implementation may set this flag using setRollbackOnly. Returns: true if the transaction has been marked for rollback. Since: JDO 2.0
4

javax.jdo.annotations.Transactional

javax.jdo.annotations Annotation Transactional Target: Fields (including property get methods) Annotation to indicate that a member (field or property) is transactional but not persistent. This corresponds to xml attribute persistence-modifier="transactional" of "field" and "property" elements
4

getPersistenceManager()

Method javax.jdo.Transaction PersistenceManager getPersistenceManager() The Transaction instance is always associated with exactly one PersistenceManager. Returns: the PersistenceManager for this Transaction instance Since: JDO 1.0
4

setRestoreValues(restoreValues)

Method javax.jdo.Transaction void setRestoreValues( boolean restoreValues ) If true, at rollback ... of the transaction, and the instances revert to transient. Additionally, fields of modified instances of primitive ... of the transaction. If false, at rollback, the values of fields of newly persistent instances are unchanged
4

setOptimistic(optimistic)

Method javax.jdo.Transaction void setOptimistic( boolean optimistic ) Optimistic transactions do not hold data store locks until commit time. If an implementation does not support this option, a JDOUnsupportedOptionException is thrown. Parameters: optimistic - the value of the Optimistic flag. Since: JDO 1.0
4

setNontransactionalWrite(nontransactionalWrite)

Method javax.jdo.Transaction void setNontransactionalWrite( boolean nontransactionalWrite ) If true, allow persistent instances to be written without a transaction active. If an implementation does not support this option, a JDOUnsupportedOptionException is thrown. Parameters: nontransactionalWrite
4

setNontransactionalRead(nontransactionalRead)

Method javax.jdo.Transaction void setNontransactionalRead( boolean nontransactionalRead ) If true, allow persistent instances to be read without a transaction active. If an implementation does not support this option, a JDOUnsupportedOptionException is thrown. Parameters: nontransactionalRead
4

getSynchronization()

Method javax.jdo.Transaction Synchronization getSynchronization() The user-specified Synchronization instance for this Transaction instance. Returns: the user-specified Synchronization instance. Since: JDO 1.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