Skip to content

Allow configuration of SqlResultSetMapping for native queries [DATAJPA-1354]Β #1674

@spring-projects-issues

Description

@spring-projects-issues

Jens Schauder opened DATAJPA-1354 and commented

We need to add the ability to define the SqlResultSetMapping to be used in the @Query annotation. Only valid if native is set to true. Needs to short circuit the type selection algorithm and rather forward the name of the mapping to em.createNativeQuery(…)


Issue Links:

  • DATAJPA-1338 Repository method with native query, that should return Optional<Enum>, instead return Optional<String>

1 votes, 2 watchers

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions