ObjectDB ObjectDB

Internal Website Search

121-130 of 200 resultsRefresh
2

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 length starting at the specified position. First position is 1. Parameters: x - string expression
2

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
2

sum(x)

Method javax.persistence.criteria.CriteriaBuilder Expression<N> sum( Expression<N> x ) Create an aggregate expression applying the sum operation. Parameters: x - expression representing input value to sum operation Returns: sum expression Since: JPA 2.0
2

toBigDecimal(number)

Method javax.persistence.criteria.CriteriaBuilder Expression<BigDecimal> toBigDecimal( Expression<?> number ) Typecast. Returns same expression object. Parameters: number - numeric expression Returns: Expression<BigDecimal> Since: JPA 2.0
2

some(subquery)

Method javax.persistence.criteria.CriteriaBuilder Expression<Y> some( Subquery<Y> subquery ) Create a some expression over the subquery results. This expression is equivalent to an any expression. Parameters: subquery - subquery Returns: some expression Since: JPA 2.0
2

size(collection)

Method javax.persistence.criteria.CriteriaBuilder Expression<Integer> size( Expression<C> collection ) Create an expression that tests the size of a collection. Parameters: collection - expression Returns: size expression Since: JPA 2.0
2

when(condition, result)

Method javax.persistence.criteria.CriteriaBuilder.Case<R> Case<R> when( Expression<T> condition, Expression<T> result ) Add a when/then clause to the case expression. Parameters: condition - "when" condition result - "then" result expression Returns: general case expression Since: JPA 2.0
2

otherwise(result)

Method javax.persistence.criteria.CriteriaBuilder.Case Expression<R> otherwise( Expression<?> result ) Add an "else" clause to the case expression. Parameters: result - "else" result expression Returns: expression Since: JPA 2.0
2

and(x, y)

Method javax.persistence.criteria.CriteriaBuilder Predicate and( Expression<Boolean> x, Expression<Boolean> y ) Create a conjunction of the given boolean expressions. Parameters: x - boolean expression y - boolean expression Returns: and predicate Since: JPA 2.0
2

groupBy(grouping)

the expressions that are used to form groups over the subquery results. Replaces the previous specified grouping expressions, if any. If no grouping expressions are specified, any previously added grouping expressions are simply removed. This method only overrides the return type of the corresponding

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