ObjectDB ObjectDB

Internal Website Search

61-70 of 86 resultsRefresh
11

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
11

Calendar in Criteria Querys

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

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
11

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
11

Help with 'not like/lower' query

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

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
11

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
2

NPE at com.objectdb.jpa.JpaQuery.getResultList

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

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
2

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