ObjectDB ObjectDB

Internal Website Search

1-10 of 200 resultsRefresh
53

JPA Criteria API Queries

An equivalent query can be built using the JPA criteria API as follows: CriteriaBuilder cb = em ... > c = q.from(Country.class); q.select(c); The CriteriaBuilder interface serves as the main ... can be built using the JPA criteria API as follows: CriteriaBuilder cb = em.getCriteriaBuilder
50

JPA Queries

the criteria API is the CriteriaBuilder interface: A CriteriaBuilder instance is the factory of criteria
34

javax.persistence.criteria.CriteriaBuilder.Trimspec

javax.persistence.criteria Enum CriteriaBuilder.Trimspec java.lang.Object java.lang.Enum<javax.persistence.criteria.CriteriaBuilder.Trimspec> javax.persistence.criteria.CriteriaBuilder.Trimspec Implemented Interfaces: Serializable, Comparable<Trimspec> Used to specify how strings
34

javax.persistence.criteria.CriteriaBuilder.In

javax.persistence.criteria Interface CriteriaBuilder.In<T> Superinterfaces: Expression<Boolean ... applying the Predicate.not() method or the CriteriaBuilder.not() method. Whether the predicate has been created from another predicate by applying the Predicate.not() method or the CriteriaBuilder.not
32

trim(ts, t, x)

Method javax.persistence.criteria.CriteriaBuilder Expression<String> trim( Trimspec ts, char t, Expression<String> x ) Create expression to trim character from a string. Parameters: ts - trim specification t - character to be trimmed x - expression for string to trim Returns: trim expression Since: JPA 2.0
32

greaterThanOrEqualTo(x, y)

Method javax.persistence.criteria.CriteriaBuilder Predicate greaterThanOrEqualTo( Expression<?> x, Y y ) Create a predicate for testing whether the first argument is greater than or equal to the second. Parameters: x - expression y - value Returns: greater-than-or-equal predicate Since: JPA 2.0
32

createTupleQuery()

Method javax.persistence.criteria.CriteriaBuilder CriteriaQuery<Tuple> createTupleQuery() Create a CriteriaQuery object that returns a tuple of objects as its result. Returns: criteria query object Since: JPA 2.0
32

lessThan(x, y)

Method javax.persistence.criteria.CriteriaBuilder Predicate lessThan( Expression<?> x, Expression<?> y ) Create a predicate for testing whether the first argument is less than the second. Parameters: x - expression y - expression Returns: less-than predicate Since: JPA 2.0
32

lessThan(x, y)

Method javax.persistence.criteria.CriteriaBuilder Predicate lessThan( Expression<?> x, Y y ) Create a predicate for testing whether the first argument is less than the second. Parameters: x - expression y - value Returns: less-than predicate Since: JPA 2.0
32

substring(x, from, len)

Method javax.persistence.criteria.CriteriaBuilder Expression<String> substring( Expression<String> x, Expression<Integer> from, Expression<Integer> len ) Create an expression for substring extraction. Extracts a substring of given length starting at the specified position. First position is 1

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