ObjectDB ObjectDB

Internal Website Search

71-80 of 99 resultsRefresh
7

Is it possible to commit only specific elements?

of them and rollback others. Since JPA supports one transaction per thread, you will have to split the activity
7

Entity has be persistended,but query not fetched?

().rollback();         em.close();         emf.close();     }         @Entity     static final class
7

Removing an entity throws exception

.getTransaction().commit();     }     catch (Exception e) {      em.getTransaction().rollback
7

NullPointerException while setting a new property value

{ if (em.getTransaction().isActive()) em.getTransaction().rollback(); em
7

Embedded List

.getLocalizedMessage()); } finally { if (em.getTransaction().isActive()) { em.getTransaction().rollback(); } if (em
7

CriteriaQuery .where() for multiple conditions

.getTransaction().rollback(); } em.close(); } return person; } ThreaT Ashton Hogan Yes
7

ClassCastException on closing PersistenceManager

().rollback();    }     this.persistenceManager.close();   } } It looks like it's related
7

One transaction or two?

().rollback(); } if(!pm.isClosed()) { pm.close(); } } Should I separate the deletes
7

Not able to update records

you had propably to rollback your transaction, to discard all changes made to the database. Stefan Stefan
1

NullPointer running multiple client against server

.getTransaction().isActive()) em.getTransaction().rollback(); throw new ApplicationException

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