ObjectDB ObjectDB

Internal Website Search

1-10 of 154 resultsRefresh
82

javax.persistence.TypedQuery

javax.persistence Interface TypedQuery<X> Superinterfaces: Query Interface used to control ... query instance Throws: IllegalArgumentException - if the argument is negative Since: JPA 1.0 TypedQuery ... . Parameters: flushMode - flush mode Returns: the same query instance Since: JPA 1.0 TypedQuery<X
73

setParameter(param, value, temporalType)

Method javax.persistence.TypedQuery TypedQuery<X> setParameter( Parameter<Date> param, Date value, TemporalType temporalType ) Bind an instance of java.util.Date to a Parameter object. Parameters: param - parameter object value - parameter value temporalType - temporal type Returns: the same query
73

setParameter(param, value)

Method javax.persistence.TypedQuery TypedQuery<X> setParameter( Parameter<T> param, T value ) Bind the value of a Parameter object. Parameters: param - parameter object value - parameter value Returns: the same query instance Throws: IllegalArgumentException - if the parameter does not correspond to a parameter of the query Since: JPA 2.0
73

setParameter(param, value, temporalType)

Method javax.persistence.TypedQuery TypedQuery<X> setParameter( Parameter<Calendar> param, Calendar value, TemporalType temporalType ) Bind an instance of java.util.Calendar to a Parameter object. Parameters: param - parameter object value - parameter value temporalType - temporal type Returns
73

setParameter(position, value, temporalType)

Method javax.persistence.TypedQuery TypedQuery<X> setParameter( int position, Date value, TemporalType temporalType ) Bind an instance of java.util.Date to a positional parameter. Parameters: position - position value - parameter value temporalType - temporal type Returns: the same query instance
73

setParameter(position, value, temporalType)

Method javax.persistence.TypedQuery TypedQuery<X> setParameter( int position, Calendar value, TemporalType temporalType ) Bind an instance of java.util.Calendar to a positional parameter. Parameters: position - position value - parameter value temporalType - temporal type Returns: the same query
73

setHint(hintName, value)

Method javax.persistence.TypedQuery TypedQuery<X> setHint( String hintName, Object value ) Set a query property or hint. The hints elements may be used to specify query properties and hints. Properties defined by this specification must be observed by the provider. Vendor-specific hints
73

setFlushMode(flushMode)

Method javax.persistence.TypedQuery TypedQuery<X> setFlushMode( FlushModeType flushMode ) Set the flush mode type to be used for the query execution. The flush mode type applies to the query regardless of the flush mode type in use for the entity manager. Parameters: flushMode - flush mode Returns: the same query instance Since: JPA 2.0
73

setMaxResults(maxResult)

Method javax.persistence.TypedQuery TypedQuery<X> setMaxResults( int maxResult ) Set the maximum number of results to retrieve. Parameters: maxResult - maximum number of results to retrieve Returns: the same query instance Throws: IllegalArgumentException - if the argument is negative Since: JPA 2.0
73

setLockMode(lockMode)

Method javax.persistence.TypedQuery TypedQuery<X> setLockMode( LockModeType lockMode ) Set the lock mode type to be used for the query execution. Parameters: lockMode - lock mode Returns: the same query instance Throws: IllegalStateException - if the query is found not to be a Java Persistence

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