ObjectDB ObjectDB

Internal Website Search

71-80 of 200 resultsRefresh
7

Remove not working

); EntityManager em = emf.createEntityManager(); em.getTransaction().begin ... (); em.getTransaction().begin(); b = em.find(B.class, 1); em.remove(b ... . transaction.begin get Extent, traverse its entries, delete an object in there // needs a flush
7

Error using query with MAX() function

(); } public void doit() { for(int i=1;i<32766;i++) { em.getTransaction().begin ... .getTransaction().begin(); CriteriaBuilder cb = em.getCriteriaBuilder(); CriteriaQuery<Object> q = cb ... (); em.getTransaction().begin(); } After much trying to reliably recreate this problem
7

Performance and memory usage of queries

);    em.getTransaction().begin();    MyEntity myEntity = new MyEntity();    myEntity = em.merge ... .setFlushMode(FlushModeType.AUTO);   em.getTransaction().begin();   Query q = em.createQuery("DELETE FROM ... , but indeed requires a lot of memory:     em.getTransaction().begin();     Query q = em.createQuery
7

zip file or JAR manifest missing

, that is unnecessary in MySQL. I use ObjectDB exactly because persistence unit is not essential. trans.begin();    ItemList i = new ItemList();    i.setItemname("Beginning");    em.persist(i);    trans.commit ... (){   int iCnt = 10;   while (--iCnt>=0){    trans.begin();    Page uri = new Page();    uri.setsUrl
7

New to Product & Having An Issue

, "dOne", null); try{ em.getTransaction().begin(); em.persist(department ... (this.foundResult); try{ em.getTransaction().begin(); em.remove ... .getResultList(); em.getTransaction().begin(); for(Department d
7

Optimistic Locking

: PersistenceManager pm = pmf.getPersistenceManager(); pm.currentTransaction().begin(); pm ... (); Counter c1 = pm1.getExtent(Counter.class).iterator().next(); pm1.currentTransaction().begin ... ().next(); pm2.currentTransaction().begin(); c2.increase(); // First user commits - succeeds
7

Database(*.odb) file size on disk

);    System.out.println("create");    for (int i = 0; i < objects; i++) {     em.getTransaction().begin ... ");    // add references    for (int i = 0; i < objects; i++) {     em.getTransaction().begin ... ++) {     em.getTransaction().begin();     EntityA entity = em.find(EntityA.class, entityAIds.get(i
1

New entity objects are duplicated on merge cascading

();         em.getTransaction().begin();         em.persist(new Book());         em.getTransaction().commit ... ();         em.getTransaction().begin();         book.chapters = Arrays.asList(new Chapter());         em.merge ... );         EntityManager em = emf.createEntityManager();         em.getTransaction().begin
1

stress test -> com.objectdb.o.InternalException: null

), then the load test begins. It seems to be related on what load I put on the server through jMeter ... em1 = emf.createEntityManager();         em1.getTransaction().begin();         em1.persist(new ... ();         em2.getTransaction().begin();         em2.persist(new TestEntity());         em2
1

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

= getEntityManager(); em.getTransaction().begin(); em.persist(moment); em ... { em = getEntityManager(); em.getTransaction().begin(); em.persist(chart ... { em = getEntityManager(); em.getTransaction().begin(); chart = 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