ObjectDB ObjectDB

Internal Website Search

191-200 of 200 resultsRefresh
6

zip file or JAR manifest missing

(); item.setTaskid(iTask); } I have to commit a useless object to make the table exists ... ();    ItemList i = new ItemList();    i.setItemname("Beginning");    em.persist(i);    trans.commit ... (""+iCnt);    em.persist(uri);    trans.commit();    System.out.printf("NO = %d%n",iCnt
6

Unique contraint with 2 members

; private String sport; ... } The first Unique constraint works. On commit, an exception is thrown ... ().begin();         em.persist(new MyEntity());         em.getTransaction().commit();         em.getTransaction().begin();         em.persist(new MyEntity());         em.getTransaction().commit
6

New to Product & Having An Issue

); em.getTransaction().commit(); }catch(Exception e){ e.printStackTrace ... (this.foundResult); em.getTransaction().commit(); }catch(Exception e){ e ... : departments) em.remove(d); em.getTransaction().commit
6

Database(*.odb) file size on disk

.add(entity.id);     em.getTransaction().commit();    }    System.out.println("references ... .class, entityAIds.get(i));     entity.entityB = entityB;     em.getTransaction().commit ... ));     em.remove(entity);     em.getTransaction().commit();    }   }   em.close();   emf
6

Persisting collection where members are subclasses

the map, then I get [ObjectDB 2.3.6] javax.persistence.RollbackException Failed to commit transaction ... .makePersistent(f); entityManager.getTransaction().commit(); List<Entry> savedEntries = entryDao ... .getTransaction().begin();         em.persist(f);         em.getTransaction().commit
1

new objects not available in mappedBy associations

, even if it is persisted, and even if the transaction is committed?? dmoshal David Moshal ... after the transaction is committed (or after the update and before commit, if your EntityManager
1

Can not have unique index on Byte Array

== Exception in thread "main" [ObjectDB 2.7.4_05] javax.persistence.RollbackException Failed to commit ... : Attempt to reuse an existing value (-121) (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java ... .o.OBM.aG(OBM.java:755) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:286) ... 3 more eko
1

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

.getTransaction().commit(); } catch (Exception ex) { if (findMomentEntity(moment ... ); em.getTransaction().commit(); } catch (Exception ex ... .merge(chart); em.getTransaction().commit(); } catch (Exception ex
1

ODB-FileWriter holds unecessary entity reference after transaction and entity manager are closed

DBVectorStepBlockCollectionImpl was modified and then the transaction will be committed. em.getTransaction().commit() em.clear() System.gc(); em.getTransaction().begin(); // here we had a break point and did ... instances of MST and PGC after commit? btc_es BTC EmbeddedSystems You should have one MSF/MST/PGC
1

java.lang.ClassCastException: com.objectdb.o.SCU cannot be cast to com.objectdb.o.PRU

): Failed to commit transaction: com.objectdb.o.SCU cannot be cast to com.objectdb.o.PRU [ObjectDB 2.7.1] javax.persistence.RollbackException Failed to commit transaction: com.objectdb.o.SCU cannot be cast to com.objectdb.o.PRU (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:290) at cl

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