ObjectDB ObjectDB

Internal Website Search

81-86 of 86 resultsRefresh
8

Null enums and IS (NOT) NULL: NullPointerException

Hello. I'm getting NullPointerException when adding %enum field% IS (NOT) NULL or == (!=) NULL in WHERE clause. The same exception using CriteriaQuery. java.lang.NullPointerException at com.objectdb.o.REG.z(REG.java:310) at com.objectdb.o.REG.u(REG.java:161) at com.objectdb.o.CMN.<init>(CMN
8

Searching lists within objects

.         CriteriaBuilder cb = em.getCriteriaBuilder();         CriteriaQuery<CDI> q = cb.createQuery(CDI.class
8

java.sql.Date equals comparison not working with CriteriaAPI

= em.getCriteriaBuilder();         CriteriaQuery<MyDateEntity> q = cb.createQuery(MyDateEntity.class
1

ClassCastException in Tuple.get

(); CriteriaQuery<Tuple> cq = cb.createTupleQuery(); Root<DemandAnswer> rootDemandAnswer = cq
1

[ObjectDB 2.2.5_02] Unexpected exception (Error 990) com.objectdb.o.InternalException: java.lang.NullPointerException: null

{ CriteriaQuery cq = em.getCriteriaBuilder().createQuery(); cq.select(cq.from(Chart.class
1

Internal exception: NPE on criteria query with IN clause and empty collection

expression: CriteriaBuilder cb = em.getCriteriaBuilder(); CriteriaQuery<Service> cq = cb

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