public interface JpaQueryProvider
Interface defining the functionality to be provided for generating queries
for use with JPA ItemReader
s or other custom built artifacts.
Modifier and Type | Method and Description |
---|---|
javax.persistence.Query |
createQuery()
Create the query object.
|
void |
setEntityManager(javax.persistence.EntityManager entityManager)
Provide an
EntityManager for the query to be built. |
javax.persistence.Query createQuery()
Create the query object.
void setEntityManager(javax.persistence.EntityManager entityManager)
EntityManager
for the query to be built.entityManager
- to be used by the JpaQueryProvider
.