ObjectDB ObjectDB

Internal Website Search

41-50 of 200 resultsRefresh
118

Query only works correctly when debug printing results

on pc) the query results are only fully read back when debug printing the result contents before closing ... RequirementLevelEntity l", RequirementLevelEntity.class); List results = query.getResultList ... printing is commented out or not. The only way it works is: query, debug printing query results
23

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
23

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
23

when(condition, result)

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

when(condition, result)

Method javax.persistence.criteria.CriteriaBuilder.Case Case<R> when( Expression<Boolean> condition, Expression<?> 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
23

otherwise(result)

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

otherwise(result)

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

when(condition, result)

Method javax.persistence.criteria.CriteriaBuilder.SimpleCase SimpleCase<C,R> when( C condition, Expression<?> result ) Add a when/then clause to the case expression. Parameters: condition - "when" condition result - "then" result expression Returns: simple case expression Since: JPA 2.0
23

when(condition, result)

Method javax.persistence.criteria.CriteriaBuilder.SimpleCase SimpleCase<C,R> when( C condition, R result ) Add a when/then clause to the case expression. Parameters: condition - "when" condition result - "then" result value Returns: simple case expression Since: JPA 2.0
23

getResultList()

Method javax.persistence.Query List getResultList() Execute a SELECT query and return the query results as an untyped List. Returns: a list of the results Throws: IllegalStateException - if called for a Java Persistence query language UPDATE or DELETE statement QueryTimeoutException - if the query

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