You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As hinted at in the opening comment, when it comes to native queries, we rely upon QueryUtils to handle everything. And a regex has limits on parsing native queries that can really be just about anything.
The alternative would be to rewrite your query using HQL and leveraging our new query parser. That might also better support your need for dynamically applied ordering.
vyemialyanchyk opened DATAJPA-1613 and commented
this is query (defined as native JPA).
org.springframework.data.jpa.repository.query.StringQuery:
QueryUtils.ALIAS_MATCH
=>
this RegExp can't cover all possible variants of native queries..
for example in provided sql is left join and finally 'left' interpreted by this RegExp as alias...
Affects: 2.1.11 (Lovelace SR11), 2.2 GA (Moore)
Issue Links:
The text was updated successfully, but these errors were encountered: