ObjectDB ObjectDB

Internal Website Search

121-130 of 200 resultsRefresh

Persisting collection where members are subclasses

"); System.err.println(f.getChildren()); entityManager.getTransaction().begin(); entryDao ... .getTransaction().begin();         em.persist(f);         em.getTransaction().commit

multiple LEFT JOINs do not work as expected

.createEntityManager();         em.getTransaction().begin();         persistTree(em, null, 2 ... "); EntityManager em = emf.createEntityManager(); em.getTransaction().begin

OutofMemory error with Object DB 2.0

is used to begin the transaction. With objectdb 2.x do we need to close the PersistentManager ... ; } // are we at the start of a new transaction? if (writeItemNumber == 0 && !transaction.isActive()) { transaction.begin


.getResultList(); em.getTransaction().begin(); for (Object entity : results)     em.remove(entity); em ... ().begin(); em.unwrap(PersistenceManager.class).newQuery(License.class).deletePersistentAll(); em

Updating existing persistence entries

are identified automatically. Of course, you have to begin and commit a transaction (when SAVE is selected ... you very much, for the explanation. I managed to get it working with beginning a transaction and committing it on save. I

Entity Update - Is the documentation up to date?

transaction. If I subsequently begin and commit a transaction, all my changes seem to be merged ... entities from outside an active transaction. If I subsequently begin and commit a transaction

@Unique member combination not working

{             em.getTransaction().begin();             em.persist(person);             em.getTransaction ... = emf.createEntityManager();             try {                 em.getTransaction().begin

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

) {   if (WRITE_DATA_TO_DATABASE) {    em.getTransaction().begin();    for (int i = 0; i < 1000; i ... .getTransaction().begin();    for (int i = 0; i < 1000; i++) {     Point p = new Point(i, i);     em.persist(p

Using the wrong class to access a database

(); } static void create(EntityManager em) { em.getTransaction().begin(); for (int i = 0; i < 1000 ... = query.getResultList(); em.getTransaction().begin(); for (Point p : results) { if (p

Issues with JDO Casting & Full Qualified Names

.createEntityManager();   em.getTransaction().begin();   MyEntity entity = new MyEntity();   entity ... .createEntityManager();         em.getTransaction().begin();         MyEntity entity = new MyEntity

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