Package | Description |
---|---|
com.caucho.amber.ejb3 | |
com.caucho.amber.manager | |
com.caucho.env.jpa | |
javax.persistence |
Modifier and Type | Class and Description |
---|---|
class |
QueryImpl
The EJB query
|
Modifier and Type | Method and Description |
---|---|
Query |
QueryImpl.setDouble(int index,
double value)
Sets an indexed parameter.
|
Query |
QueryImpl.setFirstResult(int startPosition)
Sets the position of the first result.
|
Query |
QueryImpl.setFlushMode(FlushModeType mode)
Sets the flush mode type.
|
Query |
QueryImpl.setHint(java.lang.String hintName,
java.lang.Object value)
Sets a hint.
|
Query |
QueryImpl.setLockMode(LockModeType lockMode)
Sets the lock type.
|
Query |
QueryImpl.setMaxResults(int maxResult)
Sets the maximum result returned.
|
Query |
QueryImpl.setParameter(int index,
java.util.Calendar value,
TemporalType type)
Sets a calendar parameter.
|
Query |
QueryImpl.setParameter(int index,
java.util.Date value,
TemporalType type)
Sets a date parameter.
|
Query |
QueryImpl.setParameter(int index,
java.lang.Object value)
Sets an indexed parameter.
|
Query |
QueryImpl.setParameter(Parameter<java.util.Calendar> param,
java.util.Calendar date,
TemporalType type) |
Query |
QueryImpl.setParameter(Parameter<java.util.Date> param,
java.util.Date value,
TemporalType temporalType) |
<T> Query |
QueryImpl.setParameter(Parameter<T> param,
T value) |
Query |
QueryImpl.setParameter(java.lang.String name,
java.util.Calendar value,
TemporalType type)
Sets a calendar parameter.
|
Query |
QueryImpl.setParameter(java.lang.String name,
java.util.Date value,
TemporalType type)
Sets a date parameter.
|
Query |
QueryImpl.setParameter(java.lang.String name,
java.lang.Object value)
Sets a named parameter.
|
Modifier and Type | Method and Description |
---|---|
Query |
AmberConnection.createNamedQuery(java.lang.String name)
Creates an instance of the named query
|
Query |
EntityManagerProxy.createNamedQuery(java.lang.String sql)
Creates an instance of the named query
|
Query |
EntityManagerExtendedProxy.createNamedQuery(java.lang.String sql)
Creates an instance of the named query
|
Query |
AmberConnection.createNativeQuery(java.lang.String sql)
Creates an instance of the named query
|
Query |
EntityManagerProxy.createNativeQuery(java.lang.String sql)
Creates a query.
|
Query |
EntityManagerExtendedProxy.createNativeQuery(java.lang.String sql)
Creates a query.
|
Query |
AmberConnection.createNativeQuery(java.lang.String sql,
java.lang.Class type)
Creates an instance of the native query
|
Query |
EntityManagerProxy.createNativeQuery(java.lang.String sql,
java.lang.Class retType)
Creates a query.
|
Query |
EntityManagerExtendedProxy.createNativeQuery(java.lang.String sql,
java.lang.Class retType)
Creates a query.
|
Query |
AmberConnection.createNativeQuery(java.lang.String sql,
java.lang.String map)
Creates an instance of the named query
|
Query |
EntityManagerProxy.createNativeQuery(java.lang.String sql,
java.lang.String map)
Creates a query.
|
Query |
EntityManagerExtendedProxy.createNativeQuery(java.lang.String sql,
java.lang.String map)
Creates a query.
|
Query |
AmberConnection.createQuery(java.lang.String sql)
Creates a query.
|
Query |
EntityManagerProxy.createQuery(java.lang.String sql)
Creates a query.
|
Query |
EntityManagerExtendedProxy.createQuery(java.lang.String sql)
Creates a query.
|
Query |
QueryImpl.setDouble(int index,
double value)
Sets an indexed parameter.
|
Query |
QueryImpl.setFirstResult(int startPosition)
Sets the position of the first result.
|
Query |
QueryImpl.setFlushMode(FlushModeType mode)
Sets the flush mode type.
|
Query |
QueryImpl.setHint(java.lang.String hintName,
java.lang.Object value)
Sets a hint.
|
Query |
QueryImpl.setLockMode(LockModeType lockMode)
Sets the lock type.
|
Query |
QueryImpl.setMaxResults(int maxResults)
Sets the maximum result returned.
|
Query |
QueryImpl.setParameter(int index,
java.util.Calendar value,
TemporalType type)
Sets a calendar parameter.
|
Query |
QueryImpl.setParameter(int index,
java.util.Date value,
TemporalType type)
Sets a date parameter.
|
Query |
QueryImpl.setParameter(int index,
java.lang.Object value)
Sets an indexed parameter.
|
Query |
QueryImpl.setParameter(Parameter<java.util.Calendar> param,
java.util.Calendar date,
TemporalType type) |
Query |
QueryImpl.setParameter(Parameter<java.util.Date> param,
java.util.Date value,
TemporalType temporalType) |
<T> Query |
QueryImpl.setParameter(Parameter<T> param,
T value) |
Query |
QueryImpl.setParameter(java.lang.String name,
java.util.Calendar value,
TemporalType type)
Sets a calendar parameter.
|
Query |
QueryImpl.setParameter(java.lang.String name,
java.util.Date value,
TemporalType type)
Sets a date parameter.
|
Query |
QueryImpl.setParameter(java.lang.String name,
java.lang.Object value)
Sets a named parameter.
|
Modifier and Type | Method and Description |
---|---|
Query |
EntityManagerJtaProxy.createNamedQuery(java.lang.String sql)
Creates an instance of the named query
|
Query |
EntityManagerJtaProxy.createNativeQuery(java.lang.String sql)
Creates a query.
|
Query |
EntityManagerJtaProxy.createNativeQuery(java.lang.String sql,
java.lang.Class retType)
Creates a query.
|
Query |
EntityManagerJtaProxy.createNativeQuery(java.lang.String sql,
java.lang.String map)
Creates a query.
|
Query |
EntityManagerJtaProxy.createQuery(java.lang.String sql)
Creates a query.
|
Modifier and Type | Interface and Description |
---|---|
interface |
TypedQuery<X>
Represents a typed SQL query.
|
Modifier and Type | Method and Description |
---|---|
Query |
EntityManager.createNamedQuery(java.lang.String name)
Creates a named query.
|
Query |
EntityManager.createNativeQuery(java.lang.String sql)
Creates a native SQL query.
|
Query |
EntityManager.createNativeQuery(java.lang.String sql,
java.lang.Class resultClass)
Creates a native SQL query.
|
Query |
EntityManager.createNativeQuery(java.lang.String sql,
java.lang.String resultSetMapping)
Creates a query for SQL.
|
Query |
EntityManager.createQuery(java.lang.String ql)
Creates a new query.
|
Query |
QueryTimeoutException.getQuery() |
Query |
Query.setFirstResult(int startPosition)
Sets the first result.
|
Query |
Query.setFlushMode(FlushModeType flushMode)
Sets the flush type.
|
Query |
Query.setHint(java.lang.String hintName,
java.lang.Object value)
An implementation-specific hint.
|
Query |
Query.setLockMode(LockModeType lockMode)
Sets the lock type.
|
Query |
Query.setMaxResults(int maxResult)
The maximum number of results to retrieve.
|
Query |
Query.setParameter(int pos,
java.util.Calendar date,
TemporalType type)
Sets a calendar parameter.
|
Query |
Query.setParameter(int pos,
java.util.Date date,
TemporalType type)
Sets a date parameter.
|
Query |
Query.setParameter(int pos,
java.lang.Object value)
Binds a position parameter.
|
Query |
Query.setParameter(Parameter<java.util.Calendar> param,
java.util.Calendar date,
TemporalType type)
Sets a calendar parameter.
|
Query |
Query.setParameter(Parameter<java.util.Date> param,
java.util.Date value,
TemporalType temporalType)
Sets a date parameter.
|
<T> Query |
Query.setParameter(Parameter<T> param,
T value)
Binds a named parameter.
|
Query |
Query.setParameter(java.lang.String name,
java.util.Calendar date,
TemporalType type)
Sets a calendar parameter.
|
Query |
Query.setParameter(java.lang.String name,
java.util.Date date,
TemporalType type)
Sets a date parameter.
|
Query |
Query.setParameter(java.lang.String name,
java.lang.Object value)
Binds a position parameter.
|
Constructor and Description |
---|
QueryTimeoutException(Query entity) |
QueryTimeoutException(java.lang.String message,
java.lang.Throwable cause,
Query query) |