ObjectDB ObjectDB

Internal Website Search

131-140 of 200 resultsRefresh
5

javax.persistence.Query

query TransactionRequiredException - if there is no transaction QueryTimeoutException ... back PersistenceException - if the query execution exceeds the query timeout value set and the transaction is rolled ... - if a lock mode has been set and there is no transaction PessimisticLockException - if pessimistic
5

javax.persistence.spi.PersistenceUnitInfo

to be used by the persistence provider for accessing data outside a JTA transaction. Returns the non ... transaction. The data source corresponds to the named non-jta-data-source element in the persistence.xml ... to be used by the persistence provider for accessing data outside a JTA transaction Since: JPA 1.0 String
4

javax.persistence.PersistenceContextType

: Serializable, Comparable<PersistenceContextType> Specifies whether a transaction-scoped or extended persistence context is to be used in PersistenceContext. If not specified, a transaction-scoped ... Extended persistence context Since: JPA 1.0 PersistenceContextType TRANSACTION Transaction-scoped
0

getObjectById(oid, validate)

it. If there is no transaction in progress, the returned instance will be hollow or persistent-nontransactional, at the choice of the implementation. If there is a transaction in progress, the returned instance ... is established to this instance, then the transaction in which the association was made will fail
0

flush()

to the data store. It has no effect if a transaction is not active. If a datastore transaction is active ... transaction is active, this method obtains a datastore connection, synchronizes the cache ... is held until the end of the transaction. If exceptions occur during flush, the implementation
0

isTransactional(pc)

whether this object is transactional. Instances that respect transaction boundaries return true. These instances include transient instances made transactional as a result of being the target ... in data store transactions; and persistent instances modified in optimistic transactions. Transient
0

flush()

to the data store. It has no effect if a transaction is not active. If a datastore transaction is active ... transaction is active, this method obtains a datastore connection, synchronizes the cache ... is held until the end of the transaction. If exceptions occur during flush, the implementation
0

currentTransaction()

Method javax.jdo.PersistenceManager Transaction currentTransaction() Return the Transaction instance associated with a PersistenceManager. There is one Transaction instance associated with each PersistenceManager instance. The Transaction instance supports options as well as transaction completion
0

getDataStoreConnection()

while a datastore transaction is active, the object returned will be enlisted in the current transaction. If called in an optimistic transaction or outside an active transaction, the object returned will not be enlisted in any transaction. Returns: the JDOConnection instance Since: JDO 2.0
0

getObjectId(pc)

the transaction, by the application modifying one or more of the application key fields, then this method returns the identity as of the beginning of the transaction. The value returned by getObjectId will be different following afterCompletion processing for successful transactions. Within a transaction

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