You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Dustin Woods (JIRA)" <ji...@apache.org> on 2010/05/06 02:06:02 UTC
[jira] Created: (TAP5-1132) HibernateGridDataSource should handle
Hibernate < 3.5 rowCount projection as well as Hibernate >= 3.5
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
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.
[jira] Closed: (TAP5-1132) HibernateGridDataSource should assign
the result of Projections.rowCount() to java.lang.Number when determining
the number of rows for the configured entity type
Posted by "Igor Drobiazko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Drobiazko closed TAP5-1132.
--------------------------------
Fix Version/s: 5.2.0
Resolution: Fixed
Thanks.
> HibernateGridDataSource should assign the result of Projections.rowCount() to java.lang.Number when determining the number of rows for the configured entity type
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: TAP5-1132
> URL: https://issues.apache.org/jira/browse/TAP5-1132
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-hibernate
> Affects Versions: 5.1.0.5
> Reporter: Dustin Woods
> Assignee: Igor Drobiazko
> Priority: Minor
> Fix For: 5.2.0
>
> 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.
[jira] Assigned: (TAP5-1132) HibernateGridDataSource should handle
Hibernate < 3.5 rowCount projection as well as Hibernate >= 3.5
Posted by "Igor Drobiazko (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (TAP5-1132) HibernateGridDataSource should assign
the result of Projections.rowCount() to java.lang.Number when determining
the number of rows for the configured entity type
Posted by "Igor Drobiazko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Drobiazko updated TAP5-1132:
---------------------------------
Summary: HibernateGridDataSource should assign the result of Projections.rowCount() to java.lang.Number when determining the number of rows for the configured entity type (was: HibernateGridDataSource should handle Hibernate < 3.5 rowCount projection as well as Hibernate >= 3.5)
Affects Version/s: 5.1.0.5
> HibernateGridDataSource should assign the result of Projections.rowCount() to java.lang.Number when determining the number of rows for the configured entity type
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: TAP5-1132
> URL: https://issues.apache.org/jira/browse/TAP5-1132
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-hibernate
> Affects Versions: 5.1.0.5
> 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.
[jira] Issue Comment Edited: (TAP5-1132) HibernateGridDataSource
should handle Hibernate < 3.5 rowCount projection as well as Hibernate >=
3.5
Posted by "Dustin Woods (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864597#action_12864597 ]
Dustin Woods edited comment on TAP5-1132 at 5/5/10 8:23 PM:
------------------------------------------------------------
JPA, JPA2, Hibernate HQL, and Hibernate Criteria are now returning Long for counts so a change to the getAvailableRows() return type in GridDataSource might be desirable.
was (Author: dustinywoods):
JPA/, PA2, Hibernate HQL, and Hibernate Criteria are now returning Long for counts so a change to the getAvailableRows() return type in GridDataSource might be desirable.
> 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
> 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.
[jira] Commented: (TAP5-1132) HibernateGridDataSource should handle
Hibernate < 3.5 rowCount projection as well as Hibernate >= 3.5
Posted by "Dustin Woods (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864597#action_12864597 ]
Dustin Woods commented on TAP5-1132:
------------------------------------
JPA/, PA2, Hibernate HQL, and Hibernate Criteria are now returning Long for counts so a change to the getAvailableRows() return type in GridDataSource might be desirable.
> 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
> 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.
[jira] Issue Comment Edited: (TAP5-1132) HibernateGridDataSource
should handle Hibernate < 3.5 rowCount projection as well as Hibernate >=
3.5
Posted by "Dustin Woods (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864597#action_12864597 ]
Dustin Woods edited comment on TAP5-1132 at 5/5/10 8:23 PM:
------------------------------------------------------------
JPA, JPA2, Hibernate HQL, and Hibernate Criteria are now returning Long for counts so a change to the getAvailableRows() return type in GridDataSource might be desirable.
was (Author: dustinywoods):
JPA/, PA2, Hibernate HQL, and Hibernate Criteria are now returning Long for counts so a change to the getAvailableRows() return type in GridDataSource might be desirable.
> 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
> 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.
[jira] Updated: (TAP5-1132) HibernateGridDataSource should handle
Hibernate < 3.5 rowCount projection as well as Hibernate >= 3.5
Posted by "Dustin Woods (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dustin Woods updated TAP5-1132:
-------------------------------
Priority: Minor (was: Major)
> 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
> 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.
[jira] Updated: (TAP5-1132) HibernateGridDataSource should handle
Hibernate < 3.5 rowCount projection as well as Hibernate >= 3.5
Posted by "Dustin Woods (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dustin Woods updated TAP5-1132:
-------------------------------
Priority: Minor (was: Major)
> 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
> 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.
[jira] Commented: (TAP5-1132) HibernateGridDataSource should handle
Hibernate < 3.5 rowCount projection as well as Hibernate >= 3.5
Posted by "Dustin Woods (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864597#action_12864597 ]
Dustin Woods commented on TAP5-1132:
------------------------------------
JPA/, PA2, Hibernate HQL, and Hibernate Criteria are now returning Long for counts so a change to the getAvailableRows() return type in GridDataSource might be desirable.
> 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
> 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.
[jira] Closed: (TAP5-1132) HibernateGridDataSource should assign
the result of Projections.rowCount() to java.lang.Number when determining
the number of rows for the configured entity type
Posted by "Igor Drobiazko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Drobiazko closed TAP5-1132.
--------------------------------
Fix Version/s: 5.2.0
Resolution: Fixed
Thanks.
> HibernateGridDataSource should assign the result of Projections.rowCount() to java.lang.Number when determining the number of rows for the configured entity type
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: TAP5-1132
> URL: https://issues.apache.org/jira/browse/TAP5-1132
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-hibernate
> Affects Versions: 5.1.0.5
> Reporter: Dustin Woods
> Assignee: Igor Drobiazko
> Priority: Minor
> Fix For: 5.2.0
>
> 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.
[jira] Updated: (TAP5-1132) HibernateGridDataSource should handle
Hibernate < 3.5 rowCount projection as well as Hibernate >= 3.5
Posted by "Dustin Woods (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dustin Woods updated TAP5-1132:
-------------------------------
Attachment: TAP5-1132.patch
Patch attached
> 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
> 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.
[jira] Assigned: (TAP5-1132) HibernateGridDataSource should handle
Hibernate < 3.5 rowCount projection as well as Hibernate >= 3.5
Posted by "Igor Drobiazko (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (TAP5-1132) HibernateGridDataSource should handle
Hibernate < 3.5 rowCount projection as well as Hibernate >= 3.5
Posted by "Dustin Woods (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dustin Woods updated TAP5-1132:
-------------------------------
Attachment: TAP5-1132.patch
Patch attached
> 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
> 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.
[jira] Updated: (TAP5-1132) HibernateGridDataSource should assign
the result of Projections.rowCount() to java.lang.Number when determining
the number of rows for the configured entity type
Posted by "Igor Drobiazko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Drobiazko updated TAP5-1132:
---------------------------------
Summary: HibernateGridDataSource should assign the result of Projections.rowCount() to java.lang.Number when determining the number of rows for the configured entity type (was: HibernateGridDataSource should handle Hibernate < 3.5 rowCount projection as well as Hibernate >= 3.5)
Affects Version/s: 5.1.0.5
> HibernateGridDataSource should assign the result of Projections.rowCount() to java.lang.Number when determining the number of rows for the configured entity type
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: TAP5-1132
> URL: https://issues.apache.org/jira/browse/TAP5-1132
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-hibernate
> Affects Versions: 5.1.0.5
> 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.