You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Igor Drobiazko (JIRA)" <ji...@apache.org> on 2010/05/06 13:24:48 UTC

[jira] Assigned: (TAP5-1132) HibernateGridDataSource should handle Hibernate < 3.5 rowCount projection as well as Hibernate >= 3.5

     [ https://issues.apache.org/jira/browse/TAP5-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Drobiazko reassigned TAP5-1132:
------------------------------------

    Assignee: Igor Drobiazko

> HibernateGridDataSource should handle Hibernate < 3.5 rowCount projection as well as Hibernate >= 3.5
> -----------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1132
>                 URL: https://issues.apache.org/jira/browse/TAP5-1132
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-hibernate
>            Reporter: Dustin Woods
>            Assignee: Igor Drobiazko
>            Priority: Minor
>         Attachments: TAP5-1132.patch
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.