ObjectDB ObjectDB

Internal Website Search

51-60 of 102 resultsRefresh
10

Using the wrong class to access a database

Point p"); System.out.println("Total Points: " + q1.getSingleResult()); // 2 Query q2 ... .getSingleResult()); // 3 get all points TypedQuery<Point> query = em.createQuery("SELECT p FROM
10

Problem upgrading

.onObjectDBError(OBC.java:1504) ~[objectdb-2.6.6.jar:na] at com.objectdb.jpa.JpaQuery.getSingleResult(JpaQuery ... ] at com.objectdb.jpa.JpaQuery.getSingleResult(JpaQuery.java:750) ~[objectdb-2.6.6.jar:na] ... 120
10

Remove a modified entity cause an optimistic lock exception

").getSingleResult(); e.increaseValue(); e = (MyEntity)em.createQuery("select m from MyEntity m").getSingleResult(); em.remove(e); em.getTransaction().commit(); em.close(); emf.close(); } @Entity public
10

ArrayIndexOutOfBoundsException

:1077) at com.objectdb.o.QRR.b(QRR.java:208) at com.objectdb.jpa.JpaQuery.getSingleResult(JpaQuery.java ... .objectdb.jpa.JpaQuery.getSingleResult(JpaQuery.java:696) I'm afraid I can't share the database file
10

Object comparation never matches

)                 .setParameter("principal", authentication.getPrincipal()).getSingleResult(); According ... .NoResultException" "No matching results for a unique query (error 782)" on getSingleResult PhoneNumber
10

Merge Issue: Attempt to reuse an existing primary key value

(             "SELECT a FROM A a", A.class).getSingleResult();         Assert.assertEquals(1, a.list.size ... .getTransaction().commit();         a = em.createQuery("select a from A a", A.class).getSingleResult
10

Left join fetch behaviour doesn't retrieve children?

.class);                MyEntity myEntity = query.getSingleResult();                 // Ok my em ... .getSingleResult();   // Ok my em is now closed, let's check if children are retrieved   em.clear
7

Disable Evaluation possibility

activation", boolean.class).getSingleResult(); Then you can avoid using ObjectDB and generate an error if the query returns false. support Support
7

CriteriaQuery .where() for multiple conditions

).getSingleResult(); em.getTransaction().commit(); } finally { if (em.getTransaction().isActive()) { em
2

InternalException using 2.3.7_12

.objectdb.jpa.JpaQuery.getSingleResult(JpaQuery.java:716) at sun.reflect.GeneratedMethodAccessor62 ... ) at $Proxy56.getSingleResult(Unknown Source) at com.contextspace.dao.party.impl.EntitlementDAOImpl

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