ObjectDB ObjectDB

Internal Website Search

21-30 of 200 resultsRefresh
22

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
8

Deleting JPA Entity Objects

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

Posting Sample Code

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

ObjectDB Object Database Features

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

Database Explorer

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

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.
1

Step 4: Add a Servlet Class

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

[ODB1] Chapter 4 - JDO Metadata

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

javax.jdo.Transaction

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
0

javax.jdo.PersistenceManagerFactory

, 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