Constructor and Description |
---|
JtaTypedQuery(EntityManager entityManager,
JtaEntityManager jtaEm,
java.lang.reflect.Method method,
java.lang.Object... args) |
Modifier and Type | Method and Description |
---|---|
java.util.List<X> |
getResultList() |
X |
getSingleResult() |
protected java.lang.Class<? extends Query> |
queryType() |
<any> |
setFirstResult(int i) |
<any> |
setFlushMode(FlushModeType flushModeType) |
<any> |
setHint(java.lang.String s,
java.lang.Object o) |
<any> |
setLockMode(LockModeType lockMode) |
<any> |
setMaxResults(int i) |
<any> |
setParameter(<any> param,
java.util.Calendar value,
TemporalType temporalType) |
<any> |
setParameter(<any> param,
java.util.Date value,
TemporalType temporalType) |
<T> <any> |
setParameter(<any> param,
T value) |
<any> |
setParameter(int i,
java.util.Calendar calendar,
TemporalType temporalType) |
<any> |
setParameter(int i,
java.util.Date date,
TemporalType temporalType) |
<any> |
setParameter(int i,
java.lang.Object o) |
<any> |
setParameter(java.lang.String s,
java.util.Calendar calendar,
TemporalType temporalType) |
<any> |
setParameter(java.lang.String s,
java.util.Date date,
TemporalType temporalType) |
<any> |
setParameter(java.lang.String s,
java.lang.Object o) |
executeUpdate, getFirstResult, getFlushMode, getHints, getLockMode, getMaxResults, getParameter, getParameter, getParameter, getParameter, getParameters, getParameterValue, getParameterValue, getParameterValue, isBound, unwrap
public JtaTypedQuery(EntityManager entityManager, JtaEntityManager jtaEm, java.lang.reflect.Method method, java.lang.Object... args)
protected java.lang.Class<? extends Query> queryType()
public java.util.List<X> getResultList()
getResultList
in class JtaQuery
public X getSingleResult()
getSingleResult
in class JtaQuery
public <any> setFirstResult(int i)
setFirstResult
in class JtaQuery
public <any> setFlushMode(FlushModeType flushModeType)
setFlushMode
in class JtaQuery
public <any> setHint(java.lang.String s, java.lang.Object o)
public <any> setLockMode(LockModeType lockMode)
setLockMode
in class JtaQuery
public <any> setMaxResults(int i)
setMaxResults
in class JtaQuery
public <any> setParameter(int i, java.util.Calendar calendar, TemporalType temporalType)
setParameter
in class JtaQuery
public <any> setParameter(int i, java.util.Date date, TemporalType temporalType)
setParameter
in class JtaQuery
public <any> setParameter(int i, java.lang.Object o)
setParameter
in class JtaQuery
public <any> setParameter(<any> param, java.util.Calendar value, TemporalType temporalType)
setParameter
in class JtaQuery
public <any> setParameter(<any> param, java.util.Date value, TemporalType temporalType)
setParameter
in class JtaQuery
public <T> <any> setParameter(<any> param, T value)
setParameter
in class JtaQuery
public <any> setParameter(java.lang.String s, java.util.Calendar calendar, TemporalType temporalType)
setParameter
in class JtaQuery
public <any> setParameter(java.lang.String s, java.util.Date date, TemporalType temporalType)
setParameter
in class JtaQuery
public <any> setParameter(java.lang.String s, java.lang.Object o)
setParameter
in class JtaQuery