ObjectDB ObjectDB

Internal Website Search

91-100 of 200 resultsRefresh
14

Deleting JPA Entity Objects

transaction, it can be deleted using the remove method: Employee employee = em.find(Employee.class, 1 ... (); The entity object is physically deleted from the database when the transaction is committed. Embedded objects that are contained in the entity object are also deleted. If the transaction is rolled
14

ObjectDB Object Database Features

full transaction recording and replaying. Automatic diagnosis and repair of corrupted database files ... ObjectDB can be very effective in heavy loaded multi-user systems. Transactions JPA/JDO ACID transactions. Operations: begin, commit, rollback. Processes and Threads All API classes and interfaces
14

Threaded Test - Failed to commit transaction: Unexpected internal exception

Threaded Test - Failed to commit transaction: Unexpected internal exception
12

javax.persistence.EntityManager

). If this method is called when the entity manager is associated with an active transaction, the persistence context remains managed until the transaction completes. Throws: IllegalStateException - if the entity ... : the PessimisticLockException will be thrown if the database locking failure causes transaction-level rollback
11

Detached Entity Objects

method, which clears an EntityManager's persistence context. Rolling back a transaction - either by ... transaction when merge is called because operations that might modify the database require an active transaction. Cascading Merge Marking a reference field with CascadeType.MERGE (or CascadeType
11

UPDATE SET Queries in JPA/JPQL

objects into an EntityManager. Updating the relevant entity object fields within an active transaction ... queries can only be executed within an active transaction and the changes are visible to other users ... (); A TransactionRequiredException is thrown if no transaction is active. On success - the executeUpdate
11

DELETE Queries in JPA/JPQL

transaction, either explicitly by calling the remove method or implicitly by a cascading operation ... queries can only be executed within an active transaction and the changes are visible to other users ... (); A TransactionRequiredException is thrown if no transaction is active. On success - the executeUpdate method returns
1

[ODB1] Chapter 4 - JDO Metadata

="transactional" /> <field name="f3" default-fetch-group="true" /> <field name="f4 ... in the class is always required. persistence-modifier (persistent | none | transactional) The default ... as transactional, like f2 above, has similar behavior to transient because its value
1

[ODB1] Chapter 3 - Persistent Classes

must know when a persistent field is modified during a transaction because the change must be applied to the database when the transaction is committed. ObjectDB must also know when a persistent field ... when a persistent object is going to be stored in the database during transaction commit. A possible action
1

javax.jdo.Constants

to specify that transactions are managed by the Java Transactions API, as documented in JSR-220. The value for TransactionType to specify that transactions are managed by the Java Transactions API, as ... .supportedOptions() String OPTION_TRANSACTIONAL_TRANSIENT "javax.jdo.option.TransientTransactional

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