Fast Object Database for Java - with JPA/JDO support

Internal Website Search

71-80 of 200 resultsRefresh
17

EntityManager to closed

Hi I understand we should close the entitymanager after each use, and close the factory ... . I am just running some test cases and opened up 100 entitymanager via factory.createEntityManager ... closing EntityManager and EntityManagerFactory instances is mainly wasted resources on the client side. support Support
17

Issue with orphanRemoval and multiple EntityManagers

with orphanRemoval set to true. I use a new EntityManager for each transaction (which normally happens in ... , the database contains 3 child entities. If I use the same EntityManager for both transactions ... @contextspace.com"));         EntityManager em = emf.createEntityManager();         em
17

DB persist operation results are not available for another Thread/EntityManager immdiately

Hello, we have following situation: The EntityManagerFactory is always opened and won't be closed. Thread A with its own EntityManager persists entities and commits the entities successfully. Thread B runs afterwards also with its own EntityManager and tries to load the persisted entities by
17

JPA - ExceptionInInitializerError when creating EntityManager

.EntityManagerFactoryImpl@ffa7e1 EntityManager emTemp = emf.createEntityManager(); TypedQueryEntityManager em = emf.createEntityManager(); try { Object
17

EntityManager getMetamodel() causes crash

I am trying to track down some obscure errors with multi-threading. This involved looking at the EntityManager Metamodel but this caused an ObjectDB exception. So I reverted to your example code in ... " EntityManager em = emf.createEntityManager(); em.getTransaction().begin
17

EntityManager.refresh takes a long time

EntityManager.refresh takes a long time for entity object Person in this code:     logger.log(Level.INFO, "begin select for person " + new Date().toString());                TypedQueryEntitymanager updates only objects in his context
17

Eclipse4 RCP - No Persistence provider for EntityManager

.PersistenceException: No Persistence provider for EntityManager I'm using the latest ObjectDB 2.6.2.b03 ... an EntityManagerFactory to building an EntityManager) it may be because resources that are needed by
17

Executing JUnit "all tests" throws "Object ... belongs to another EntityManager" Exception

#7' belongs to another EntityManager [Symbol:7] When I change the order in which the test runs (by
17

EntityManager.merge gives EntityNotFoundException

Just started using objectdb (2.3.4). Calling EntityManager.merge for a new (non-managed) object gives EntityNotFoundException. I am perplexed by this. See attached test case. Thanks for your assistance. Full error output is: Exception in thread "main" [ObjectDB 2.3.4] javax.persistence
17

javax.persistence.PersistenceException: No Persistence provider for EntityManager named in Karaf 4.0.7 and OSGi DS test

.persistence.PersistenceException: No Persistence provider for EntityManager named objectdb://localhost:6136

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