Files
spring-data-jpa/src/test/java/org/springframework/data/jpa
Thomas Darimont 5e5f494ac5 DATAJPA-377 - Remove "order by"-part from generated count query.
Adjusted createCountQueryFor(…) in QueryUtils to leave out the order by part in the generated query. This avoids problems with databases that require columns specified in the order by clause to be in the select / group by list for count queries (e.g. H2). In addition to that this should give us a little performance boost if the database did not already optimize the query execution.

Original pull request: #29.
2013-07-25 21:31:30 +02:00
..