ObjectDB ObjectDB

Internal Website Search

171-180 of 200 resultsRefresh

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

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

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

Type xxx is not found (error 301)

your EntityManager:     em.unwrap(PersistenceManager.class).getExtent(User.class) support Support OK ... Moshal oddly, I don't have an unwrap() method on my EntityManager?? also, I don't have a query (String, Class) method on my EntityManager dmoshal David Moshal > 3) use jdo from jpa

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

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

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

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

JQL-Update Queries fails with activated L2-Cache

When using JQL-Update Queries it is basically not working without calling entityManager.clear() after a transaction commit. When the clear() method isn't called the entityManager will never return ... the EntityManager may break its synchronization with the database. For example, the EntityManager

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