ObjectDB ObjectDB

Internal Website Search

21-30 of 200 resultsRefresh

EntityManager.refresh takes a long time

(Level.INFO, "begin select for person " + new Date().toString());                TypedQuery<Person ... .INFO, "begin refresh for person = " +             person + "  "+ new Date().toString());         em ... + "  "+ new Date().toString());     } INFO: begin select for person Thu Aug 08 19:39:45 GMT+04:00

Deleting JPA Entity Objects

); em.getTransaction().begin(); em.remove(employee); em.getTransaction().commit

Posting Sample Code

");         EntityManager em = emf.createEntityManager();         em.getTransaction().begin();         MyEntity e

ObjectDB Object Database Features

transactions. Operations: begin, commit, rollback. Processes and Threads All API classes and interfaces

Database Explorer

and File > Discard Changes, the Explorer automatically begins a new transaction for the next editing

Step 3: Define an EJB Session Bean

transaction begin and commit. The next step is adding a Servlet Class that will serve as the application controller.

Step 4: Add a Servlet Class

.getTransaction().begin(); em.persist(new Guest(name)); em

[ODB1] Chapter 4 - JDO Metadata

to its value at the beginning of the transaction. default-fetch-group (true | false) The default-fetch


may only be used with bean-managed transaction semantics. Since: JDO 1.0 void begin() Begin a transaction. Begin a transaction. The type of transaction is determined by the setting of the Optimistic ... to their values as of the beginning of the transaction, and the instances revert to transient


, fields of newly persistent instances are restored to their values as of the beginning ... of primitive types and immutable reference types are restored to their values as of the beginning

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