ObjectDB ObjectDB

Internal Website Search

171-180 of 200 resultsRefresh

NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1

); entityManager.persist(city); entityManager.persist(person); The exception: java.lang ... ); entityManager.persist(person); City city = new City(); city.setName("Москва"); person.setCity(city); entityManager.persist(city

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

Memory Leak?

indicates that there are too many EntityManager instances (PMImpl). The other instances are probably hold by the EntityManager instances, so the question is why the EntityManager instances are not ... an EntityManager (line 115). My bad. After I fixed it, no more memory explosion. I attached Device.java

Transaction isolation support?

when the fetch start? Martin mt Martin Every EntityManager manages its own memory objects (which represent database objects). Therefore, if an entity object is retrieved by one EntityManager and then updated in the database by another EntityManager, the first EntityManager may still have an old version

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

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

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

500Mb ObjectDb database opening issue

.createEntityManagerFactory( "objectdb:" + aFilename ); m_EntityManager = m_EntityMgrFactory.createEntityManager ... ); EntityManager em = emf.createEntityManager(); ms ... .createEntityManagerFactory( tmpDataBaseName ); m_EntityManager = m_EntityMgrFactory

First query takes 4+ minutes to complete

fromExtension; Operation We use two EntityManagers in our code, each running in a different thread: 1. The first EntityManager only adds records to the DB at a rate of 5 records per second. Each add is a single new object and is wrapped in a transaction. 2. The 2nd EntityManager runs the queries

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

Feature suggestion: auto-detection of entities via persistence.xml extension

I am encountering problems (complexities) with EntityManager registration of entities ... system: hibernate.archive.autodetection https://docs.jboss.org/hibernate/entitymanager/3.6/reference/en/html ... to the EntityManager whether one performs compile-time enhancement or runtime enhancement ? That is, does

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