ObjectDB ObjectDB

Internal Website Search

11-20 of 200 resultsRefresh


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


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


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


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


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


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


Method javax.jdo.Transaction boolean getOptimistic() Optimistic transactions do not hold data store locks until commit time. Returns: the value of the Optimistic property. Since: JDO 1.0


Method javax.jdo.Transaction boolean getNontransactionalWrite() If true, allows persistent instances to be written without a transaction active. Returns: the value of the nontransactionalWrite property Since: JDO 1.0


Method javax.jdo.Transaction boolean getNontransactionalRead() If true, allows persistent instances to be read without a transaction active. Returns: the value of the nontransactionalRead property Since: JDO 1.0


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

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