ObjectDB ObjectDB

Internal Website Search

61-70 of 86 resultsRefresh

Error using query with MAX() function

.getTransaction().begin(); CriteriaBuilder cb = em.getCriteriaBuilder(); CriteriaQuery<Object> q = cb ... "); Expression me = cb.max(c); CriteriaQuery<Object> s = q.select(me); Predicate predicate = cb

Calendar in Criteria Querys

();                 CriteriaBuilder cb = em.getCriteriaBuilder();         CriteriaQuery query1 = cb.createQuery ... ();         System.out.println(results.size());         CriteriaQuery query = cb.createQuery

Like fails if both underscore and percent are used

.criteria.CriteriaBuilder; import javax.persistence.criteria.CriteriaQuery; import javax.persistence ... (); CriteriaQuery<StringHolder> query = builder.createQuery(StringHolder.class); Root<StringHolder> c

Problem with Criteria Querys

.CriteriaQuery; import javax.persistence.criteria.ParameterExpression; import javax.persistence.criteria.Root ... ();   CriteriaQuery<DataObject> q = cb.createQuery(DataObject.class);   Root<DataObject> d  = q.from

Help with 'not like/lower' query

.CriteriaQuery; import javax.persistence.criteria.ParameterExpression; import javax.persistence ... .getCriteriaBuilder();   CriteriaQuery<MyEntity> c = builder.createQuery(MyEntity.class

Criteria query error: Unexpected query token

= entityManager.getCriteriaBuilder(); CriteriaQuery<T> c = qb.createQuery(aClass); c ... (); CriteriaQuery<T> q = criteriaBuilder.createQuery(aClass); Root<T> entityRoot = q.from(aClass); q.select

TYPE Expression

();         CriteriaQuery<Object> cq = cb.createQuery();         Root<A> e = cq.from(A.class ... : private void applyFilters(Root<T> from, CriteriaQuery<?> query, CriteriaBuilder builder) { query

NPE at com.objectdb.jpa.JpaQuery.getResultList

(); try { CriteriaBuilder cb = em.getCriteriaBuilder(); CriteriaQuery ... ();             CriteriaQuery query = cb.createQuery();             Root<MomentPayload> fromMomentPayload

Issue with TYPE expression in Criteria API

javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.CriteriaQuery ... .getCriteriaBuilder();         CriteriaQuery<Object> cq = cb.createQuery();         Root<Customer> e

Strange Error with Criteria API and Sorting

.CriteriaBuilder; import javax.persistence.criteria.CriteriaQuery; import javax.persistence.criteria.Expression ... ().commit();   CriteriaBuilder cb = em.getCriteriaBuilder();   CriteriaQuery<TestEntity> query = 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