-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add @NativeQuery
annotation as alias for @Query(nativeQuery=true)
#3155
Labels
type: enhancement
A general enhancement
Milestone
Comments
Hello, can I pick this issue? I'm new to contributing to open source, so this issue seems easy enough to do for a first timer 🙂 |
danvandeee
added a commit
to danvandeee/spring-data-jpa
that referenced
this issue
Feb 4, 2024
Annotation to declare native queries directly on repository methods. NativeQuery acts as a shortcut for @query(nativeQuery = true) See spring-projects#3155
danvandeee
added a commit
to danvandeee/spring-data-jpa
that referenced
this issue
Feb 4, 2024
Annotation to declare native queries directly on repository methods. NativeQuery acts as a shortcut for @query(nativeQuery = true) See spring-projects#3155
Hi as it seemed no one had picked this up yet i thought of picking it up. |
mp911de
changed the title
Consider introducing
Add Jun 26, 2024
@NativeQuery
as alias for @Query(…, native = true)
@NativeQuery
annotation as alias for @Query(nativeQuery=true)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The intent is to create a place where we can specify strategies to rewrite SQL queries. Right now, JSQLParser is used when it is there and we fall back to regex if it isn't there. We want to create a place where we could specify a
SqlRewriterStragtegyFactory
to decide how much JSQLParser we want to take into account (or bypass the rewrite for certain queries).The text was updated successfully, but these errors were encountered: