]
Christian Bauer updated HHH-2302:
---------------------------------
Comment: was deleted
ArrayIndexOutOfBoundsException with scrollable scalar native queries
--------------------------------------------------------------------
Key: HHH-2302
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2302
Project: Hibernate3
Issue Type: Bug
Components: core
Affects 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: