ObjectDB ObjectDB

Internal Website Search

191-200 of 200 resultsRefresh
33

concat(x, y)

Method javax.persistence.criteria.CriteriaBuilder Expression<String> concat( String x, Expression<String> y ) Create an expression for string concatenation. Parameters: x - string y - string expression Returns: expression corresponding to concatenation Since: JPA 2.0
33

concat(x, y)

Method javax.persistence.criteria.CriteriaBuilder Expression<String> concat( Expression<String> x, String y ) Create an expression for string concatenation. Parameters: x - string expression y - string Returns: expression corresponding to concatenation Since: JPA 2.0
33

conjunction()

Method javax.persistence.criteria.CriteriaBuilder Predicate conjunction() Create a conjunction (with zero conjuncts). A conjunction with zero conjuncts is true. Returns: and predicate Since: JPA 2.0
33

coalesce()

Method javax.persistence.criteria.CriteriaBuilder Coalesce<T> coalesce() Create a coalesce expression. Returns: coalesce expression Since: JPA 2.0 Selection<X> alias(String name) Assigns an alias to the selection item. Assigns an alias to the selection item. Once assigned, an alias
24

SELECT clause (JPQL / Criteria API)

clause). The CriteriaBuilder interface provides three factory methods for building CompoundSelection instances - array, tuple and construct. CriteriaBuilder's array The following JPQL query: SELECT c ... : " + result[0] + ", Capital: " + result[1]); } CriteriaBuilder's tuple The Tuple interface can be used
18

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
15

Date and Time in JPQL and Criteria Queries

in Criteria Queries The CriteriaBuilder interface provides three factory methods for building date ... by using the generic CriteriaBuilder's function method, as follow: // Create expressions
15

Logical Operators in JPQL and Criteria API

: Predicate isLarge = cb.gt(country.get("area"), 1000000); AND / OR Expressions The CriteriaBuilder ... : Predicate p5 = cb.not(isInUN); Predicate p6 = isLarge.not(); The CriteriaBuilder's not method
15

JPA Queries

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

Literals in JPQL and Criteria Queries

The CriteriaBuilder interface provides two factory methods for building literal expressions. Ordinary ... method: Expression n = cb.literal(null); or by a special CriteriaBuilder's method, nullLiteral

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