ObjectDB ObjectDB

Internal Website Search

141-149 of 149 resultsRefresh

CriteriaQuery .where() for multiple conditions

root = criteriaQuery.from(Person.class); criteriaQuery.select(root); Predicate

@ElementCollection query returning extra result per element in collection

, but not so easy to add with the 'count' while re-using the same predicates. This is indeed, not a bug Willks William

multiple LEFT JOINs do not work as expected

is the root. The query also contains a number of other predicates and it is built dynamically using

Searching lists within objects

");                 Predicate pred =             cb.and(                 cb

JPA 2.0 Criteria API: (When) Fully supported ?

predicates. * EclipseLink 2.2.0 - PASS. * OpenJPA 2.1.0 - FAIL. Does not support "lower(FIELD_NAME) LIKE

Problem using "and" for joined entities and indexed fields

Using @Index for fields and filter more than one field with "and" predicate ends in empty result list. public class IndexTest {     @Entity     @Indices({         @Index(members = {"children.name"}),         @Index(members = {"children.age"})     })     static class Parent

Logical "or" works not correcly when field is @Id and first position

The following code doesn't respect the logical "or" correctly. Instead of returns all 2 datasets it returns only this one, which matches the first predicate in the or. BUT: this happens only, if the field for the "or" is the first one defined as @Id. public class OrTest {     @Entity     static

StaticMetamodel throws NPE with Spring-Data in PathImpl.get()

From my Entities a StaticMetamodel is generated through Hibernate JPA 2 Metamodel Generator. When i now try to build a query with the Specification-Interface [new Specification<Benutzer>() {     @Override public Predicate toPredicate(final Root<Benutzer> benutzerRoot, final CriteriaQuery

New Java 8 (JDK 1.8) Collection Methods

(which becomes an orphan) using the new methods: removeIf(predicate) and remove(key, value). support Support

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