ObjectDB ObjectDB

Internal Website Search

51-60 of 200 resultsRefresh
27

QueryTimeoutException(message, cause, query)

Constructor javax.persistence.QueryTimeoutException QueryTimeoutException( String message, Throwable cause, Query query ) Constructs a new QueryTimeoutException exception with the specified detail message, cause, and query. Parameters: message - the detail message. cause - the cause. query - the query. Since: JPA 2.0
27

QueryTimeoutException(query)

Constructor javax.persistence.QueryTimeoutException QueryTimeoutException( Query query ) Constructs a new QueryTimeoutException exception with the specified query. Parameters: query - the query. Since: JPA 2.0
27

setHint(hintName, value)

Method javax.persistence.Query Query 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 ... for the property or hint Returns: the same query instance Throws: IllegalArgumentException - if the second
27

setFlushMode(flushMode)

Method javax.persistence.Query Query 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 1.0
27

getParameters()

Method javax.persistence.Query Set<Parameter<?>> getParameters() Get the parameter objects corresponding to the declared parameters of the query. Returns empty set if the query has no parameters. This method is not required to be supported for native queries. Returns: set of the parameter objects
27

setParameter(param, value)

Method javax.persistence.Query Query 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
27

setParameter(position, value, temporalType)

Method javax.persistence.Query Query setParameter( int position, Calendar value, TemporalType ... - position value - parameter value temporalType - temporal type Returns: the same query instance Throws: IllegalArgumentException - if position does not correspond to a positional parameter of the query
27

setParameter(position, value, temporalType)

Method javax.persistence.Query Query setParameter( int position, Date value, TemporalType ... value - parameter value temporalType - temporal type Returns: the same query instance Throws: IllegalArgumentException - if position does not correspond to a positional parameter of the query or if the value argument is of incorrect type Since: JPA 1.0
2

closeAll()

Method javax.jdo.Query void closeAll() Close all query results associated with this Query instance, and release all resources associated with them. The query results might have iterators open on them. Iterators associated with the query results are invalidated: they return false to hasNext() and throw NoSuchElementException to next(). Since: JDO 1.0
2

Queries.value

Annotation Element javax.jdo.annotations.Queries Query[] value The named queries Returns: The named queries Since: JDO 2.1

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