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 ItemReaders or other custom built artifacts.

Since:
2.1
Author:
Anatoly Polinsky, Dave Syer

Method Summary
 Query createQuery()
          Create the query object.
 void setEntityManager(EntityManager entityManager)
          Provide an EntityManager for the query to be built.
 

Method Detail

createQuery

Query createQuery()

Create the query object.

Returns:
created query

setEntityManager

void setEntityManager(EntityManager entityManager)
Provide an EntityManager for the query to be built.

Parameters:
entityManager -


Copyright © 2013 SpringSource. All Rights Reserved.