ObjectDB ObjectDB

Internal Website Search

1-10 of 200 resultsRefresh
175

Database Transaction Replayer

contains two types of files: Backup files - with names of the form <transaction-id>.odb Recording files - with names of the form <transaction-id>.odr A backup file is an ordinary ObjectDB database file that reflects the state of the database at the end of a specific transaction. The ID
6

javax.jdo.Transaction

javax.jdo Interface Transaction The JDO Transaction interface provides for initiation and completion of transactions under user control. It is a sub-interface of the PersistenceManager that deals with options and transaction demarcation. Transaction options include whether optimistic concurrency
5

[ODB1] Chapter 5 - JDO Connections

connection. Every operation on a database requires a PersistenceManager instance. The Transaction interface represents a transaction on a database. Every operation that modifies the content of the database requires an active transaction. The focus of this chapter is on setting up a runtime
5

begin()

Method javax.jdo.Transaction void begin() Begin a transaction. The type of transaction is determined by the setting of the Optimistic flag. Throws: JDOUserException - if transactions are managed by a container in the managed environment, or if the transaction is already active. Since: JDO 1.0 See Also: setOptimistic getOptimistic
5

setIsolationLevel(level)

Method javax.jdo.Transaction void setIsolationLevel( String level ) Set the value for transaction isolation level for this transaction. Transaction isolation levels are defined in javax.jdo.Constants ... - the transaction isolation level Since: JDO 2.2 See Also: getIsolationLevel() Constants.TX_READ
4

commit()

Method javax.jdo.Transaction void commit() Commit the current transaction. Throws: JDOUserException - if transactions are managed by a container in the managed environment, or if the transaction is not active. Since: JDO 1.0
4

getIsolationLevel()

Method javax.jdo.Transaction String getIsolationLevel() Get the value for transaction isolation level for this transaction. Returns: the transaction isolation level Since: JDO 2.2 See Also: setIsolationLevel(String)
4

setRollbackOnly()

Method javax.jdo.Transaction void setRollbackOnly() Sets the rollback-only status of the transaction to true. After this flag is set to true, the transaction can no longer be committed, and any attempt to commit the transaction will throw JDOFatalDataStoreException. Since: JDO 2.0
4

setSynchronization(sync)

Method javax.jdo.Transaction void setSynchronization( Synchronization sync ) The user can specify a Synchronization instance to be notified on transaction completions. The beforeCompletion method ... after performing state transitions of persistent and transactional instances, following the data store commit
4

rollback()

Method javax.jdo.Transaction void rollback() Roll back the current transaction. Throws: JDOUserException - if transactions are managed by a container in the managed environment, or if the transaction is not active. 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