Interface JpaQueryProvider

All Known Implementing Classes:
AbstractJpaQueryProvider, JpaNamedQueryProvider, JpaNativeQueryProvider

public interface JpaQueryProvider

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

Since:
2.1
Author:
Anatoly Polinsky, Dave Syer, Mahmoud Ben Hassine
  • Method Summary

    Modifier and Type
    Method
    Description
    jakarta.persistence.Query
    Create the query object.
    void
    setEntityManager(jakarta.persistence.EntityManager entityManager)
    Provide an EntityManager for the query to be built.
  • Method Details

    • createQuery

      jakarta.persistence.Query createQuery()

      Create the query object.

      Returns:
      created query
    • setEntityManager

      void setEntityManager(jakarta.persistence.EntityManager entityManager)
      Provide an EntityManager for the query to be built.
      Parameters:
      entityManager - to be used by the JpaQueryProvider.