| java.lang.Object org.apache.geronimo.persistence.NoTxQueryWrapper
NoTxQueryWrapper | public class NoTxQueryWrapper implements Query(Code) | | The JtaQuery is a wrapper around a query and and entity manager that automatically closes the entity managers
when the query is finished. This implementation is only for non-transaction queryies
|
Constructor Summary | |
public | NoTxQueryWrapper(EntityManager entityManager, Query query) |
Method Summary | |
public int | executeUpdate() | public List | getResultList() | public Object | getSingleResult() | public Query | setFirstResult(int i) | public Query | setFlushMode(FlushModeType flushModeType) | public Query | setHint(String s, Object o) | public Query | setMaxResults(int i) | public Query | setParameter(String s, Object o) | public Query | setParameter(String s, Date date, TemporalType temporalType) | public Query | setParameter(String s, Calendar calendar, TemporalType temporalType) | public Query | setParameter(int i, Object o) | public Query | setParameter(int i, Date date, TemporalType temporalType) | public Query | setParameter(int i, Calendar calendar, TemporalType temporalType) |
NoTxQueryWrapper | public NoTxQueryWrapper(EntityManager entityManager, Query query)(Code) | | |
executeUpdate | public int executeUpdate()(Code) | | |
setFirstResult | public Query setFirstResult(int i)(Code) | | |
setFlushMode | public Query setFlushMode(FlushModeType flushModeType)(Code) | | |
setMaxResults | public Query setMaxResults(int i)(Code) | | |
setParameter | public Query setParameter(String s, Date date, TemporalType temporalType)(Code) | | |
setParameter | public Query setParameter(int i, Object o)(Code) | | |
setParameter | public Query setParameter(int i, Date date, TemporalType temporalType)(Code) | | |
setParameter | public Query setParameter(int i, Calendar calendar, TemporalType temporalType)(Code) | | |
|
|