]
Steve Ebersole resolved HHH-5173.
---------------------------------
Resolution: Fixed
hql - average returns double but looses the decimal part
--------------------------------------------------------
Key: HHH-5173
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5173
Project: Hibernate Core
Issue Type: Bug
Affects Versions: 3.5.0-Final
Environment: Database driver: hsqldb
OS: Mac-Os
Hibernate: 3.5.0-Final
Reporter: Sébastien Peters
Assignee: Steve Ebersole
Fix For: 3.6, 3.5.2
Attachments: patch_unit_test.txt
Time Spent: 1h 44m
Remaining Estimate: 0h
HQL:
select avg(r.rating) from Review r
for the values 2,2,2,1,2 it should return 1.8 instead of 1.0
type of rating: integer
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: