org.springframework.batch.item.database.orm

## Interface JpaQueryProvider

- All Known Implementing Classes:
    AbstractJpaQueryProvider, JpaNativeQueryProvider

      public interface JpaQueryProvider

  Interface defining the functionality to be provided for generating queries for use with JPA `ItemReader`s or other custom built artifacts.

  Since:
    2.1
  Author:
    Anatoly Polinsky, Dave Syer

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    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.

- - ### Method Detail

    - #### createQuery

          javax.persistence.Query createQuery()

      Create the query object.

      Returns:
        created query

    - #### setEntityManager

          void setEntityManager(javax.persistence.EntityManager entityManager)

      Provide an `EntityManager` for the query to be built.
      Parameters:
        `entityManager` -