[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-2302) ArrayIndexOutOfBoundsException with scrollable scalar native queries
Max Rydahl Andersen (JIRA)
noreply at atlassian.com
Tue Dec 12 12:16:04 EST 2006
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2302?page=all ]
Max Rydahl Andersen updated HHH-2302:
-------------------------------------
Summary: ArrayIndexOutOfBoundsException with scrollable scalar native queries (was: ArrayIndexOutOfBoundsException in AbstractScrollableResults)
update desc since it is only for the case of scalar type queries (and possibly only for autodiscover setups) that it fails.
> ArrayIndexOutOfBoundsException with scrollable scalar native queries
> --------------------------------------------------------------------
>
> Key: HHH-2302
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2302
> Project: Hibernate3
> Type: Bug
> Components: core
> Versions: 3.2.0.ga
> Environment: Hibernate 3.2.0, Oracle 9.2
> Reporter: Markus Heiden
> Attachments: hibernate.zip
>
>
> When using scrollable result sets on sql queries, the array of column types in AbstractScrollableResults has always the length zero. So all operations which do type checking fail, e.g. #getInteger(int col).
> Test case for this problem is attached. Stacktrace of failure in this test case:
> java.lang.ArrayIndexOutOfBoundsException: 0
> at org.hibernate.impl.AbstractScrollableResults.getFinal(AbstractScrollableResults.java:126)
> at org.hibernate.impl.AbstractScrollableResults.getInteger(AbstractScrollableResults.java:208)
> at hibernate.scroll_types.Test.main(Test.java:30)
--
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.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list