Skip to content

Add support for named queries in JpaPagingItemReader #1667

Closed
@spring-projects-issues

Description

@spring-projects-issues

David Zeigler opened BATCH-1926 and commented

The Hibernate ItemReaders support queryName as an alternative to queryString allowing the reader to use a named query.

JpaPagingItemReader needs to support this option as well. When queryName is set, the javax.persistence.Query should be created using entityManager.createNamedQuery(queryName);


Affects: 2.1.9

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions