Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
spring-projects-issues opened this issue May 23, 2018 · 1 comment
Assignees
Labels
status: superseded An issue that has been superseded by another type: enhancement A general enhancement

Comments

@spring-projects-issues
Copy link

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

@mp911de
Copy link
Member

mp911de commented Nov 8, 2024

Fixed via #3155 in @NativeQuery(sqlResultSetMapping=…)

@mp911de mp911de closed this as not planned Won't fix, can't repro, duplicate, stale Nov 8, 2024
@mp911de mp911de added the status: superseded An issue that has been superseded by another label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: superseded An issue that has been superseded by another type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

3 participants