RowCountProjection toString() method could return 'COUNT(1)' instead of
'COUNT(*)'
----------------------------------------------------------------------------------
Key: HHH-3838
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3838
Project: Hibernate Core
Issue Type: Improvement
Components: core
Affects Versions: 3.3.1
Reporter: Tim Stavenger
Priority: Minor
RowCountProjection uses COUNT(*), which forces the database to return all data for each
row prior to counting the number of rows.
The class could use 'COUNT(1)' instead (or any other arbitrary number/character)
such that the database only returns '1' for each row prior to counting the number
of rows.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira