ObjectDB ObjectDB

Internal Website Search

1-10 of 147 resultsRefresh
79

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
70

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
70

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
70

setParameter(position, value)

Method javax.persistence.TypedQuery TypedQuery<X> setParameter( int position, Object value ) Bind an argument to a positional parameter. Parameters: position - position value - parameter value Returns: the same query instance Throws: IllegalArgumentException - if position does not correspond
70

setParameter(name, value, temporalType)

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

setParameter(name, value, temporalType)

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

setParameter(name, value)

Method javax.persistence.TypedQuery TypedQuery<X> setParameter( String name, Object value ) Bind an argument to a named parameter. Parameters: name - parameter name value - parameter value Returns: the same query instance Throws: IllegalArgumentException - if the parameter name does not correspond
70

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
70

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
70

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

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