Fast Object Database for Java - with JPA/JDO support

Internal Website Search

61-70 of 200 resultsRefresh

Attempt to execute a query using a closed EntityManager

. com.objectdb.o.UserException - Attempt to execute a query using a closed EntityManager at com ... to execute a query using a closed EntityManager at org.apache.myfaces.view.facelets.el ... EntityManager at org.apache.el.parser.AstValue.invoke( at org.apache.el

CRUD Operations with JPA

Explains how to use JPA for CRUD database operations (persist, retrieve, update, remove).

Deleting JPA Entity Objects

Explains how to use JPA to delete (remove) entity objects from the database.

Chapter 3 - Using JPA

Explains how to store, retrieve, update and delete entity objects using JPA.

JPA Reference (JavaDoc)

Java/JPA API Reference (based on the JPA 3 JavaDoc)

Accessing objects to make them available after EntityManager close?!

"); EntityManager em = emf.createEntityManager(); TypedQuery query = em.createQuery("SELECT w ... objects? Many thanks mmmndt2015 Thi Nguyen Closing the EntityManager changes the state of the managed ... when the EntityManager when it was open are available (and references to unloaded objects are null). Accessing

Metamodel Attribute NOT EQUALS to same Attribute in a different EntityManager

from Metamodel of a differente EntityManager initialized on a @Controller @RequestMapping event. I ... is it: If I have two moments of initialization of "javax.persistence.metamodel" from EntityManager and these two metamodels come from different EntityManagers. One of these is on a @PostConstruct event

creating EntityManager on odb file created on Mac 64bit on Windows 32bit

an EntityManagerFactory and later EntityManager on this file, every thing is working fine. But, when I transfer this program and odb file to Windows XP 32bit it crashes while creating EntityManager ... EntityManager on this odb file. And the program is creating 1kb file named$, when the database is in

An entityManager.flush() with many entities is not possible

The following exception occures if we call entityManager.flush() where the corresponding JPA PersistenceContext has many entities and relations. What is the reason for the exception? entityManager.getTransaction().commit() instead of a entityManager.flush() works correctly. Unfortunately I have not

Suspected memleak caused by bad state of EntityManager

Our application manages the Entities itself, so we close the EntityManager after every creating ... and finalize, we found the problem is caused by bad state of EntityManager. After first throwing the InternalException, the EntityManager throws every time when doing merge operation, but it can be closed

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