ObjectDB ObjectDB

Internal Website Search

1-10 of 200 resultsRefresh
173

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
162

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
42

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
40

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
39

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
39

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 ... . Parameters: x - string expression from - start position expression len - length expression Returns
39

substring(x, from)

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

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
39

locate(x, pattern, from)

Method javax.persistence.criteria.CriteriaBuilder Expression<Integer> locate( Expression<String> x, String pattern, int from ) Create expression to locate the position of one string ... to be searched pattern - string to be located from - position at which to start search Returns: expression corresponding to position Since: JPA 2.0
39

locate(x, pattern, from)

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

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