spring-data-jpa icon indicating copy to clipboard operation
spring-data-jpa copied to clipboard

Consider introducing `@NativeQuery` as alias for `@Query(…, native = true)`

Open mp911de opened this issue 2 years ago • 2 comments

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).

mp911de avatar Sep 12 '23 14:09 mp911de

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 🙂

fatihdogmus avatar Oct 20 '23 11:10 fatihdogmus

Hi as it seemed no one had picked this up yet i thought of picking it up. Created a pr for it https://github.com/spring-projects/spring-data-jpa/pull/3353

danvandeee avatar Feb 04 '24 21:02 danvandeee