ObjectDB ObjectDB

Internal Website Search

101-110 of 200 resultsRefresh
8

javax.persistence.EntityTransaction

javax.persistence Interface EntityTransaction Interface used to control transactions on resource ... begin() Start a resource transaction. Start a resource transaction. Throws: IllegalStateException - if isActive() is true Since: JPA 1.0 void commit() Commit the current resource transaction, writing
8

javax.persistence.LockModeType

.OPTIMISTIC_FORCE_INCREMENT are the following. If transaction T1 calls for a lock of type LockModeType ... phenomena can occur: P1 (Dirty read): Transaction T1 modifies a row. Another transaction T2 then reads that row and obtains the modified value, before T1 has committed or rolled back. Transaction T2
7

javax.persistence.TypedQuery

for a criteria query TransactionRequiredException - if there is no transaction QueryTimeoutException ... and the transaction is rolled back Since: JPA 1.0 int getFirstResult() The position of the first result the query ... back TransactionRequiredException - if a lock mode has been set and there is no transaction PessimisticLockException
1

Step 3: Define an EJB Session Bean

with the @PersistenceContext annotation). Handles transactions automatically using JTA - no need to wrap every operation that modifies the database (such as persist) by transaction begin and commit
1

Step 3: Define an EJB Session Bean

(because it is annotated with the @PersistenceContext annotation). Handles transactions automatically ... transaction begin and commit. The next step is adding a Servlet Class that will serve as the application controller.
0

javax.jdo.spi.PersistenceCapable

is persistent, transactional, dirty, new, deleted, or detached; and to get its associated ... is only valid within the current transaction. If the JDO identity is being changed in the transaction, this method returns the object id as of the beginning of the current transaction. Returns: a copy
0

javax.jdo.spi.StateManager

identity of the calling instance. If the JDO identity is being changed in the current transaction, this method returns the identity as of the beginning of the transaction. Parameters: pc - the calling ... the current transaction, this method returns the current identity as changed in the transaction
0

javax.jdo.PersistenceManagerFactory

transactions. If any PersistenceManager instances have an active transaction, throw a JDOUserException, with one nested JDOUserException for each PersistenceManager with an active Transaction. If there are no active transactions, then close all PersistenceManager instances obtained from
0

javax.jdo.spi.StateInterrogation

transaction. Parameters: pc - the instance. Returns: a copy of the ObjectId of the parameter instance as of the beginning of the transaction. Since: JDO 2.0 See Also: PersistenceManager.getObjectId(Object pc ... if there is one. Return the associated PersistenceManager if there is one. Transactional and persistent
0

javax.jdo.JDOHelper

whether the instance is persistent, transactional, dirty, new, deleted, or detached ... within the current transaction. Parameters: pc - the PersistenceCapable instance. Returns: a copy of the ObjectId of the parameter instance as of the beginning of the transaction. 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