ObjectDB ObjectDB

Internal Website Search

181-190 of 200 resultsRefresh
7

Entity is not related to ObjectDB, but i get exception from ObjectDB

Hibernate
When getting this entity from PostgreSQL with the key EntityManager.find(id), we receive ... .AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1361) [hibernate-entitymanager-4.0.1 ... .java:816) [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.ejb
7

Database is erased after deploying a new web application version

of EntityManagerFactory and EntityManager? As long as the web-app is running, I have no intention of closing ... concurrently? > When should I use the close method of EntityManagerFactory and EntityManager ... EntityManager instances are created and closed on every request (creating EntityManager instances
7

Embedding ObjectDB on server application

: javax.persistence.PersistenceException Message: No Persistence provider for EntityManager named test ... : No Persistence provider for EntityManager named objectdb:$objectdb/test.odb Description: Error ... for EntityManager named objectdb:$objectdb/test.odb Is it possible to get this exception if ObjectDB is unable
7

Connection is closed Caused by: java.io.EOFException

an EntityManager. I have checked throughout my code to ensure that all instances of EntityManager that I ... );             emf.createEntityManager();         }     } } Notice that the EntityManager instances ... ();         }     } } Please check if your application might create EntityManager instances without closing them. By the way
7

Glassfish 4 AbstractMethodError: com.objectdb.jpa.EMF.createEntityManager

/EntityManager; at com.sun.ejb.containers.EJBContainerTransactionManager.checkExceptionClientTx ... ;)Ljavax/persistence/EntityManager; at com.sun.enterprise.container.common.impl.EntityManagerWrapper ... /SynchronizationType;Ljava/util/Map;)Ljavax/persistence/EntityManager; at com.sun.ejb.containers
7

How to Remove records from many to many relationship tables in JPA

.getId()); public void removeConclusions(Long id) { entityManager = dbConn.getConnection(); Conclusion conclusion = entityManager.find(Conclusion.class, id); entityManager.getTransaction().begin(); entityManager.remove(conclusion); entityManager
7

Left join fetch behaviour doesn't retrieve children?

.CascadeType; import javax.persistence.Entity; import javax.persistence.EntityManager; import javax ... ");         EntityManager em = null ;         // Merge parent1         em = emf.createEntityManager ... to the database was required to access the data, if done before closing the EntityManager) but not
7

Unexpected behaviour upon update. Bug?

.createEntityManagerFactory("ODB.odb"); EntityManager em = emf.createEntityManager ... is cached in the EntityManager as a managed entity object and it is returned with the update from the query. Changes in one EntityManager instance are invisible in other EntityManager instances until commit
7

Large (and growing) numbers of ODB-StoreHandler Threads

between EntityManagerFactories or EntityManagers in the application? Thanks, Clinton Moore CAPdev CAP ... clients. Every client connection (represented by EntityManager) is served by a separate StoreHandler on the server. Please check that every created EntityManager is properly closed when not in use anymore
7

EntityTransaction.commit() does not release a pessimistic lock

.createEntityManagerFactory("accounts.odb"); EntityManager em = emf.createEntityManager(); em ... (); // update EntityManager em1 = emf.createEntityManager(); em1.getTransaction().begin ... // try to retrieve again EntityManager em2 = emf.createEntityManager(); em2

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