ObjectDB ObjectDB

Internal Website Search

181-190 of 200 resultsRefresh

NullPointerException while setting a new property value

= getEntityManager(); try { em.getTransaction().begin

Calendar in Criteria Querys

().begin();         em.persist(new Event());         em.getTransaction().commit

Join query problem with new statetment

the beginning tagged as @Entity and I don't think it was ever changed. I've changed this query

Access entity version before commit transaction

: transactional.execute() just creates a transaction (entityManager.getTransaction().begin();) and commits

Problem with distinct select, order by and equivalent alias/attribute path

();         em.getTransaction().begin();                em.getMetamodel().entity(Street.class

LAZY @ManyToOne field functions as EAGER

();         em.getTransaction().begin();         B b = new B("b");         b.cLazy = new C("cLazy");         b

Embedded List

/db/test.tmp;drop"); em = emf.createEntityManager(); em.getTransaction().begin(); Supplier sup = new

CriteriaQuery .where() for multiple conditions

.createEntityManager(); Person person; try { em.getTransaction().begin

Immediately retrieve unique id

The beginning of my "Sample" class looks like: @Entity @SequenceGenerator(name = "sampleSeqGenerator", initialValue = 1, allocationSize = 100) public class Sample implements Serializable { private static final long serialVersionUID = 1L; private String sampleName

Unexpected Exception during commit

= emf.createEntityManager();     em.getTransaction().begin();     em.find(Account.class, 1

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