| Modifier and Type | Interface and Description |
|---|---|
interface |
StoredProcedureQuery
Interface used to control stored procedure query execution.
|
interface |
TypedQuery<X>
Interface used to control the execution of typed queries.
|
| Modifier and Type | Method and Description |
|---|---|
Query |
QueryTimeoutException.getQuery()
Returns the query that caused this exception.
|
Query |
Query.setFirstResult(int startPosition)
Set the position of the first result to retrieve.
|
Query |
Query.setFlushMode(FlushModeType flushMode)
Set the flush mode type to be used for the query execution.
|
Query |
Query.setHint(String hintName,
Object value)
Set a query property or hint.
|
Query |
Query.setLockMode(LockModeType lockMode)
Set the lock mode type to be used for the query execution.
|
Query |
Query.setMaxResults(int maxResult)
Set the maximum number of results to retrieve.
|
Query |
Query.setParameter(int position,
Calendar value,
TemporalType temporalType)
Bind an instance of
java.util.Calendar to a positional
parameter. |
Query |
Query.setParameter(int position,
Date value,
TemporalType temporalType)
Bind an instance of
java.util.Date to a positional parameter. |
Query |
Query.setParameter(int position,
Object value)
Bind an argument to a positional parameter.
|
Query |
Query.setParameter(Parameter<Calendar> param,
Calendar value,
TemporalType temporalType)
Bind an instance of
java.util.Calendar to a Parameter object. |
Query |
Query.setParameter(Parameter<Date> param,
Date value,
TemporalType temporalType)
Bind an instance of
java.util.Date to a Parameter object. |
<T> Query |
Query.setParameter(Parameter<T> param,
T value)
Bind the value of a
Parameter object. |
Query |
Query.setParameter(String name,
Calendar value,
TemporalType temporalType)
Bind an instance of
java.util.Calendar to a named parameter. |
Query |
Query.setParameter(String name,
Date value,
TemporalType temporalType)
Bind an instance of
java.util.Date to a named parameter. |
Query |
Query.setParameter(String name,
Object value)
Bind an argument to a named parameter.
|
| Constructor and Description |
|---|
QueryTimeoutException(Query query)
Constructs a new
QueryTimeoutException exception
with the specified query. |
QueryTimeoutException(String message,
Throwable cause,
Query query)
Constructs a new
QueryTimeoutException exception
with the specified detail message, cause, and query. |
Copyright © 2016. All rights reserved.