-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 5.1.0.5
-
Fix Version/s: 5.2.0
-
Component/s: tapestry-hibernate
-
Labels:None
Earlier versions of Hibernate return an Integer when using Projections.rowCount() through the Criteria API. The latest version of Hibernate changed this and now returns a Long causing a ClassCastException.
http://fisheye.jboss.org/browse/Hibernate/core/trunk/core/src/main/java/org/hibernate/criterion/RowCountProjection.java?r=17874
http://fisheye.jboss.org/browse/Hibernate/core/trunk/core/src/main/java/org/hibernate/dialect/Dialect.java?r=19095