public class OpenJPADAO
extends java.lang.Object
Constructor and Description |
---|
OpenJPADAO() |
Modifier and Type | Method and Description |
---|---|
protected <T> void |
batchUpdateByIds(java.util.Iterator<T> ids,
javax.persistence.Query query,
java.lang.String parameterName) |
protected BPELDAOConnectionImpl |
getConn() |
protected javax.persistence.EntityManager |
getEM() |
protected <T> T |
getSingleResult(javax.persistence.Query qry)
javax.persistence.Query either let you query for a collection or a single
value throwing an exception if nothing is found.
|
protected BPELDAOConnectionImpl getConn()
protected javax.persistence.EntityManager getEM()
protected <T> T getSingleResult(javax.persistence.Query qry)
qry
- query to executeprotected <T> void batchUpdateByIds(java.util.Iterator<T> ids, javax.persistence.Query query, java.lang.String parameterName)