[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2302) ArrayIndexOutOfBoundsException with scrollable scalar native queries

Samir Jyoti (JIRA) noreply at atlassian.com
Tue Oct 16 00:18:38 EDT 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_28434 ] 

Samir Jyoti commented on HHH-2302:
----------------------------------

Can't beleive this is open for so long. I am working on hibernate 3.2! Any fixes in sight?

> 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: 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