public interface Query
| Modifier and Type | Method and Description |
|---|---|
int |
executeUpdate() |
Iterator |
iterate() |
Iterator |
iterate(boolean modifiable) |
Object |
iterateNext() |
List |
list() |
List |
list(boolean unmodifiable) |
List |
list(boolean copy,
boolean unmodifiable) |
ScrollableResults |
scroll() |
Query |
setBoolean(int pos,
boolean value) |
Query |
setBoolean(String name,
boolean value) |
Query |
setCacheable(boolean cacheable) |
Query |
setCacheMode(CacheMode cacheMode) |
Query |
setCacheRegion(String cacheRegion) |
Query |
setDouble(int pos,
double value) |
Query |
setDouble(String name,
double value) |
Query |
setFirstResult(int firstResult) |
Query |
setFloat(int pos,
float value) |
Query |
setFloat(String name,
float value) |
Query |
setInteger(int pos,
int value) |
Query |
setInteger(String name,
int value) |
Query |
setLockMode(String alias,
LockMode lockMode) |
Query |
setLong(int pos,
long value) |
Query |
setLong(String name,
long value) |
Query |
setMaxResults(int maxResults) |
Query |
setSerializable(int pos,
Serializable value) |
Query |
setSerializable(String name,
Serializable value) |
Query |
setShort(int pos,
short value) |
Query |
setShort(String name,
short value) |
Query |
setString(int pos,
String value) |
Query |
setString(String name,
String value) |
Query |
setTimestamp(int pos,
Timestamp value) |
Query |
setTimestamp(String name,
Timestamp value) |
Object |
uniqueResult() |
int executeUpdate()
throws ORMException
ORMExceptionIterator iterate() throws ORMException
ORMExceptionIterator iterate(boolean modifiable) throws ORMException
ORMExceptionObject iterateNext() throws ORMException
ORMExceptionList list() throws ORMException
ORMExceptionList list(boolean unmodifiable) throws ORMException
ORMExceptionList list(boolean copy, boolean unmodifiable) throws ORMException
ORMExceptionScrollableResults scroll() throws ORMException
ORMExceptionQuery setBoolean(int pos, boolean value)
Query setCacheable(boolean cacheable)
Query setDouble(int pos, double value)
Query setFirstResult(int firstResult)
Query setFloat(int pos, float value)
Query setInteger(int pos, int value)
Query setLong(int pos, long value)
Query setMaxResults(int maxResults)
Query setSerializable(int pos, Serializable value)
Query setSerializable(String name, Serializable value)
Query setShort(int pos, short value)
Object uniqueResult() throws ORMException
ORMException