ObjectDB ObjectDB

Internal Website Search

191-200 of 200 resultsRefresh
7

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
6

find() delay

trans is not a transaction of em. Maybe different EntityManager instances are used and the L2 cache ... ");         EntityManager em = emf.createEntityManager();                for (int i = 0; i < 30; i ... = Persistence.createEntityManagerFactory("$objectdb/db/test.odb");   EntityManager em = emf
6

Spring MVC Errors

EntityManager although I use that @Autowired and @PersistenceContext automatic one like in the Spring ... DBconn { private static String dbName = "mces_database.odb"; private EntityManager em ... (); } protected void finalize() { em.close(); } public EntityManager
6

multiple LEFT JOINs do not work as expected

.createEntityManagerFactory(                 "objectdb:test.tmp;drop");         EntityManager em = emf ... ();         emf.close();     }         private static Node persistTree(EntityManager em, Node parent, int ... "); EntityManager em = emf.createEntityManager(); em.getTransaction().begin
6

Field not persisted in abstract class with two level of nesting

.Entity; import javax.persistence.EntityManager; import javax.persistence.Persistence; @Entity ... main(String[] args){         EntityManager em = Persistence.createEntityManagerFactory("$objectdb/db ... .EntityManager; import javax.persistence.Persistence; @Entity public class MHD2 implements Serializable
6

Entity has be persistended,but query not fetched?

("$objectdb/flush.odb");         EntityManager em = emf.createEntityManager();         em.getTransaction ... User {} } Maybe you are using a different EntityManager for the query? Updates can only be visible before commit in the EntityManager that was used to apply the updates. support Support Thanks! I
6

Possible issue with LAZY Loading

EntityManager, but it is fetched lazily when needed. You do see a difference (in addition to performance differences) when the EntityManager is closed or results are detached. In this case, LAZY data will not ... is broken, cause if I close the entityManager without calling "getLocationList" which is marked as LAZY
6

Schema Update: class hierarchy change

.persistence.Entity; import javax.persistence.EntityManager; import javax.persistence ...     .createEntityManagerFactory("objectdb:$objectdb/db/test.tmp;drop");   EntityManager em = emf ... .EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.Persistence
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
1

Issues with JDO Casting & Full Qualified Names

.persistence.Embeddable; import javax.persistence.Entity; import javax.persistence.EntityManager ... .createEntityManagerFactory("objectdb:$objectdb/db/test4.tmp;drop");   EntityManager em = emf ... .Entity; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import

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