ObjectDB ObjectDB

Internal Website Search

1-10 of 200 resultsRefresh
156

FROM clause (JPQL / Criteria API)

The FROM clause declares query identification variables that represent iteration over objects in ... are always polymorphic. JPQL does not provide a way to exclude descendant classes from iteration at the FROM clause level. JPA 2, however, adds support for filtering instances of specific types
144

Criteria Query From Elements

The interfaces in this group are in use for setting a criteria query FROM clause. Criteria Query Variables The FROM clause in JPA queries (as in SQL) defines the query variables. Query variables are represented in criteria queries by descendant interfaces of the From interface: Range variables
45

javax.persistence.criteria.From

javax.persistence.criteria Interface From<Z,X> Superinterfaces: Expression<X>, FetchParent<Z,X ... , PluralJoin, Root, SetJoin Represents a bound type, usually an entity that appears in the from clause, but may also be an embeddable belonging to an entity in the from clause. Serves as a factory for Joins
43

getCorrelationParent()

Method javax.persistence.criteria.From From<Z,X> getCorrelationParent() Returns the parent From object from which the correlated From object has been obtained through correlation (use of a Subquery correlate method). Returns: the parent of the correlated From object Throws: IllegalStateException
42

getJoins()

Method javax.persistence.criteria.From Set<Join<X,?>> getJoins() Return the joins that have been made from this bound type. Returns empty set if no joins have been made from this bound type. Modifications to the set do not affect the query. Returns: joins made from this type Since: JPA 2.0
42

isCorrelated()

Method javax.persistence.criteria.From boolean isCorrelated() Whether the From object has been obtained as a result of correlation (use of a Subquery correlate method). Returns: boolean indicating whether the object has been obtained through correlation Since: JPA 2.0
42

substring(x, from, len)

Method javax.persistence.criteria.CriteriaBuilder Expression<String> substring( Expression<String> x, int from, int len ) Create an expression for substring extraction. Extracts a substring of given ... from - start position len - length Returns: expression corresponding to substring extraction Since: JPA 2.0
42

substring(x, from)

Method javax.persistence.criteria.CriteriaBuilder Expression<String> substring( Expression<String> x, int from ) Create an expression for substring extraction. Extracts a substring starting ... expression from - start position Returns: expression corresponding to substring extraction Since: JPA 2.0
42

substring(x, from, len)

Method javax.persistence.criteria.CriteriaBuilder Expression<T> substring( Expression<T> x, Expression<T> from, Expression<T> len ) Create an expression for substring extraction. Extracts a substring ... expression from - start position expression len - length expression Returns: expression corresponding to substring extraction Since: JPA 2.0
42

locate(x, pattern, from)

Method javax.persistence.criteria.CriteriaBuilder Expression<T> locate( Expression<T> x, Expression<T> pattern, Expression<T> from ) Create expression to locate the position of one string ... to be searched pattern - expression for string to be located from - expression for position

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