ObjectDB ObjectDB

Internal Website Search

11-20 of 200 resultsRefresh
86

Date and Time in JPQL and Criteria Queries

Date and time expressions may appear in JPQL queries: as date and time literals - e.g. {d '2011-12 ... expressions - in navigation to persistent date and time fields. as results of predefined JPQL current ... in Criteria Queries The CriteriaBuilder interface provides three factory methods for building date
86

DELETE Queries in JPA/JPQL

As explained in chapter 2, entity objects can be deleted from the database by: Retrieving ... . For example, the EntityManager may not be aware that a cached entity object in its persistence ... .Object class in queries (as an extension to JPA), so the following query can be used to delete
26

javax.persistence.criteria.CriteriaBuilder.In

javax.persistence.criteria Interface CriteriaBuilder.In<T> Superinterfaces: Expression<Boolean>, Predicate, Selection<Boolean>, TupleElement<Boolean> Interface used to build in predicates. Since: JPA ... : the runtime type is not changed. Warning: may result in a runtime failure. Parameters: type - intended
25

in(expression)

Method javax.persistence.criteria.CriteriaBuilder In<T> in( Expression<?> expression ) Create predicate to test whether given expression is contained in a list of values. Parameters: expression - to be tested against list of values Returns: in predicate Since: JPA 2.0
25

value(value)

Method javax.persistence.criteria.CriteriaBuilder.In In<T> value( Expression<?> value ) Add to list of values to be tested against. Parameters: value - expression Returns: in predicate Since: JPA 2.0
25

value(value)

Method javax.persistence.criteria.CriteriaBuilder.In In<T> value( T value ) Add to list of values to be tested against. Parameters: value - value Returns: in predicate Since: JPA 2.0
2

readExternal(in)

Method javax.jdo.identity.ShortIdentity void readExternal( ObjectInput in ) Read this object. Read the superclass first. Parameters: in - the input Since: JDO 1.0
2

readExternal(in)

Method javax.jdo.identity.CharIdentity void readExternal( ObjectInput in ) Read this object. Read the superclass first. Parameters: in - the input Since: JDO 1.0
2

readExternal(in)

Method javax.jdo.identity.IntIdentity void readExternal( ObjectInput in ) Read this object. Read the superclass first. Parameters: in - the input Since: JDO 1.0
2

readExternal(in)

Method javax.jdo.identity.ObjectIdentity void readExternal( ObjectInput in ) Read this object. Read the superclass first. Parameters: in - the input Since: JDO 1.0

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