-
Notifications
You must be signed in to change notification settings - Fork 1.5k
count query issue in spring-data-jpa-2.5.11 #2511
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
Comments
Matcher matcher = COUNT_MATCH.matcher("SELECT * FROM context ORDER BY time");
|
In commit 3e64d9a a bug got introduced that uses the next symbol after the table name for the count function. With this commit this should be now resolved. The count query will use `*` when there is no alias present nor a variable. Related tickets spring-projects#2177, spring-projects#2260, spring-projects#2511
#2514 has been backported to 2.5.x. Does this issue persist @lavanya2290 ? |
in 2.5.13 spring boot which uses 2.5.11 issue is there. |
#2495 is still open, so the only option as for now is downgrade to spring-data-jpa 2.5.10 |
Support for |
Issue is still there in mentioned version
…On Wed, May 4, 2022, 9:20 PM Greg L. Turnquist ***@***.***> wrote:
#2514 <#2514> has
been backported to 2.5.x. Does this issue persist @lavanya2290
<https://github.com/lavanya2290> ?
—
Reply to this email directly, view it on GitHub
<#2511 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADJDMHLXCOY4YY2WUZSAT4TVIKME3ANCNFSM5UOXLICQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
As mentioned above, support for |
When we check our native query an issue comes
the count uery changes from select count(*) from tablename to select count(order) from tablename.
2.5.9...2.5.11#diff-7d36425745042f8c27507657de795fd7cf1d546da6a740fd00d86add46f81ed4R530
The text was updated successfully, but these errors were encountered: