Fast Object Database for Java - with JPA/JDO support

Internal Website Search

51-60 of 200 resultsRefresh

Working with JPA Entity Objects

this state the object is not yet associated with an EntityManager and has no representation in ... via an EntityManager’s persist method, which must be invoked within an active transaction. On transaction commit, the owning EntityManager stores the new entity object to the database. More details on storing objects

Updating JPA Entity Objects

entity object from within an active transaction. No EntityManager's method is invoked to report

Setting and Tuning of JPA Queries

on which they were invoked). Flush Mode (setFlushMode) Changes made to a database using an EntityManager ... of other EntityManager instances). JPA implementations can easily make uncommitted changes visible in ... the application, either at the EntityManager level as a default for all the queries in that EntityManager

CRUD Database Operations with JPA

Given an EntityManager, em, that represents a JPA connection to the object database, we can use ... an ordinary Java object. It then becomes associated with an EntityManager and with its transaction (as ... can become productive very quickly. The EntityManager object serves as the factory for Query instances

Shared (L2) Entity Cache

Every EntityManager owns a persistence context, which is a collection of all the entity objects ... an entity object that is already managed by the EntityManager returns the existing instance from ... is one EntityManager. This section describes a level 2 (L2) cache of entity objects, which is managed

EntityManager refresh problem

Hi, in the following code you can see an example with EntityManager.refresh(). The example throws ... -------------------- package example; import; import javax.persistence.EntityManager; import ... void refreshTest() {         EntityManager entityManager = null;         try

UserException - Object User#2 belongs to another EntityManager

EntityManager with the same unitName. TradesC method needs an User, which is taken from UserDataB ... .pingushare.entity.p1.User#2' belongs to another EntityManager at com.objectdb.o.MSG.d( ... this should be a problem if, in the same transaction, an entity is passed into more EntityManagers, but here are 2

Pooling of EntityManagers

an internal pool of connections, and when an EntityManager is closed the underlying socket to the server is returned to the pool and can be reused with another new EntityManager, as this is the most expensive resource. However, the persistence context, i.e., the first level cache that an EntityManager holds

Object belongs to another EntityManager - ERROR

#8' belongs to another EntityManager (error 613) 10:29:14,887 ERROR [stderr] (http-- ... .UserException: Object 'pbdmodel.impl.OrgJedinicaImpl#8' belongs to another EntityManager 10:29:15,072 ... #8' belongs to another EntityManager 10:29:15,089 ERROR [stderr] (http-- at com

EntityManager JPA or JDO impl and different behavior

Hi, I have an issue with the EntityManager. My persistance XML looks like: EntityManager Name: " + em.getClass ... .jdo.PMImpl Whats going on here? Is the entityManager not controlled by the persistance.xml or

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