ObjectDB ObjectDB

Internal Website Search

141-150 of 200 resultsRefresh

Remove an entity which attributes were changed - OptimisticLockException

or several plugins seems to be using one or more EntityManagerFactory / EntityManager instances, i ... EntityManager (not just the same EntityManagerFactory) is used by the different plugins ... should be when only one EntityManager is used) or different Java instances? support Support I meant the ObjectDB throws away

ODB IndexActivation NullPointerException

to an existing Database and create an EntityManager. 1) sometimes the following System out: * Batch ... with opening and closing the creation of EntityManagerFactory or of EntityManager? Is it possible ... ) is to create a entityManager - close it - and wait a few seconds, that the IndexActiovation thread

Missing (null) elements in eager loaded references

it happen when the EntityManager is open or closed? Note that if you are working with detached objects (e.g. after closing the EntityManager) then anything that has not been already loaded ... are returned and the EntityManager is closed? Kevin Kevin Pfaff > So you say that despite of the eager

Memory Leak in EntityManagerFactory ?

.createEntityManagerFactory(db_name) 3. After runnings some automatic tests for ca. 1 h all EntityManagers are closed ... all EntityManagers and of course running garbage collector) 5. the gc root of all those objects is our single ... from an EntityManager in the connection pool of a live EntityManagerFactory, where that EntityManager

Persist error @ManyToMany how to define correct entities relationships

; import javax.persistence.Entity; import javax.persistence.EntityManager; import javax.persistence ... { EntityManagerFactory emf; EntityManager em; void test ... .persistence.Entity; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory

Problem on JPA Merge Entity.

Hello, I have a problem with the EntityManager.merge() function. I set a property value ... ErgoDaoJpa implements IErgoDao { @PersistenceContext private EntityManager entityManager ... , DaoException { entityManager.persist(ergoClass); } public void updateErgoClass

Filename.odb$ Persisting Issue

("$objectdb/db/payrollDB - Copy0.odb"); public  static EntityManager departmentDB = emf.createEntityManager(); public  static EntityManager employeeDB = emf.createEntityManager(); public  static EntityManager paygradeDB = emf.createEntityManager(); public  static EntityManager programDB = emf

Mismatch client-server protocol prefix

. It could be because of concurrent use of the same connection and sockets (i.e. same EntityManager) by two concurrent threads. ObjectDB synchronizes use of EntityManager by different threads, but maybe there is an uncovered ... a socket from a closed EntityManager is still used after the EntityManager is closed after its resources


Annotation Element javax.persistence.NamedNativeQuery String name The name used to refer to the query with the EntityManager methods that create query objects. Since: JPA 1.0

[ObjectDB 2.2.6_02] Unexpected exception (Error 990) at com.objectdb.o.OBC.aJ(OBC.java:961)

; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import ... .createEntityManagerFactory("ReproducePU"); } public EntityManager getEntityManager() { return emf ... ); edit(chart); } public MomentEntity findMomentEntity(Long id) { 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