This repository was archived by the owner on Mar 13, 2025. It is now read-only.
Commit 30a79bb
committed
Fix getTotalCount() with Hibernate for sorting parameters
Don't have sorting in the generated query. Otherwise, depending on the
database and its strictness configuration, the query might fail.
The `PagedResultSpec` in `grails-datastore-gorm-tck` covers this.1 parent 3a0fc2a commit 30a79bb
File tree
1 file changed
+1
-1
lines changed- grails-datastore-gorm-hibernate5/src/main/groovy/org/grails/orm/hibernate/query
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
0 commit comments