ObjectDB ObjectDB

Internal Website Search

181-190 of 200 resultsRefresh
7

Can't get arraylist/vector type attributes

get the object. But when I call the close method to close the EntityManager the information from ... the entitymanager I write something like vector.size() or I print it's size or I do anything with the vector ... , and only when the containing entity objects are managed. i.e. when the EntityManager is open. When you close
7

NullPointerException while setting a new property value

saveCollection(Collection<? extends Identifiable> entityCollection) { final EntityManager em ... with multi threads each thread should have its own EntityManager and entities. According to the JPA ... EntityManager and persistence context in ObjectDB, but since this is not the usual way of working with JPA
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
7

Update more than 10000 entities by an update query fails

"); EntityManager emOne = emf.createEntityManager(); emOne.getTransaction().begin ... ); } emOne.getTransaction().commit(); emOne.close(); EntityManager ... (); emTwo.close(); EntityManager emThree = emf.createEntityManager(); emThree
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

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

Problem undeploying Glassfish3.1.1 web application cleanly

EntityManager injection, using the undeploy feature under the Glassfish server node of Netbeans7.1, I ... GuestBook example (which also uses @PersistenceContext EntityManager injection)? support Support ... @PersistenceContext EntityManager injection)? Could not build GuestBook example from Maven, but I
7

problem with lazy loading - unittest project attached

that when the test is not annotated with @Transactional - an ad hoc EntityManager instance is prepared for running findOne, and when the query execution completes that EntityManager is closed and the result ... , but each should have his own transaction. spring does not allow me to call entityManager
1

stress test -> com.objectdb.o.InternalException: null

the EntityManager and moved its connection to the pool. Then to ObjectDB (on the just closed EntityManager ... .createEntityManagerFactory(                 "objectdb:db/test.tmp;drop");                 EntityManager ... TestEntity());         em1.flush();                 EntityManager em2 = emf.createEntityManager
1

combined index not used

.createEntityManagerFactory("my.odb"); EntityManager em = emf.createEntityManager(); Thread ... , added: entityManager = entityManagerFactory.createEntityManager(); Thread thread = entityManager ... = Persistence.createEntityManagerFactory("D:\\odb-files\\coreSystemDb3.odb"); EntityManager em

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