Fast Object Database for Java - with JPA/JDO support

Internal Website Search

191-200 of 200 resultsRefresh

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

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

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

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

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

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

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

static void main(String[] args) {   EntityManagerFactory emf = null;   EntityManager em = null ... ();   } finally {    emf.close();   } } private static void queryDatabase(EntityManager em ... ) {   EntityManagerFactory emf = null;   EntityManager em = null;   try {    emf = Persistence

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

All_ { @PersistenceContext(type = PersistenceContextType.EXTENDED)//! protected EntityManager ... (type = PersistenceContextType.EXTENDED)//! protected EntityManager em ... .PersistenceException Attempt to rollback a transaction using a closed EntityManager (error 525) at com

Server out of memory exceptions

read/write operation is done via a new EntityManager which is closed straight ... . > 60 threads after about 2 minutes). Each thread manages its own EntityManager, which may consume ... cleanup steps that I should be taking to dispose of EntityManagers then? I actually thought

Slave server not getting deletes

is needed if used to clear all cache, e.g. to open a new EntityManager after such query operations ... the EntityManager may break its synchronization with the database. For example, the EntityManager may not ... a DELETE query. Therefore, it is a good practice to use a separate EntityManager for DELETE queries

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