ObjectDB ObjectDB

Internal Website Search

41-50 of 200 resultsRefresh
16

Working with JPA Entity Objects

via an EntityManager’s persist method, which must be invoked within an active transaction. On transaction commit ... Entities section. If a managed entity object is modified within an active transaction the change ... the EntityManager’s remove method within an active transaction. The entity object changes its state from Managed
16

Locking in JPA

. A TransactionRequiredException is thrown if there is no active transaction when lock is called because explicit locking requires an active transaction. A LockTimeoutException is thrown if the requested pessimistic lock ... is active, as so:   em.lock(employee, LockModeType.NONE); Other Explicit Lock Modes In addition
13

Storing JPA Entity Objects

field values). A TransactionRequiredException is thrown if there is no active transaction when persist is called because operations that modify the database require an active transaction. If the database
13

Detached Entity Objects

class or it is a removed entity. A TransactionRequiredException is thrown if there is no active transaction when merge is called because operations that might modify the database require an active
13

Obtaining a JPA Database Connection

, update, and delete should only be performed within an active transaction. Given an EntityManager, em ... that the getTransaction method returns. When a transaction is active you can invoke EntityManager methods
13

Database Connection using JPA

the content of a database require active transactions. Transactions are managed by an EntityTransaction ... ) must be performed within an active transaction. The EntityTransaction interface represents
13

Updating JPA Entity Objects

from inside an active transaction: Employee employee = em.find(Employee.class, 1); em ... entity object from within an active transaction. No EntityManager's method is invoked to report
13

Database Explorer

the Edit > Move Element commands. Saving Changes The Explorer manages an active transaction for every open database file. All the editing operations are associated with the active transaction. The File
1

[ODB1] Chapter 9 - ObjectDB Explorer

these menus. Saving Changes The Explorer manages an active transaction for every open database file ... , etc.) are stored in memory, associated with the active transaction. The "File | Save" menu command
1

javax.jdo.JDOEntityManager

. This method has no effect if a transaction is not active. If a datastore transaction is active ... transaction is active, this method obtains a datastore connection and verifies the consistency ... store. This method must be called in an active transaction. The data store object will be removed

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