[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2302) ArrayIndexOutOfBoundsException in AbstractScrollableResults

Markus Heiden (JIRA) noreply at atlassian.com
Tue Dec 12 11:57:04 EST 2006


ArrayIndexOutOfBoundsException in AbstractScrollableResults
-----------------------------------------------------------

         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