You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rave.apache.org by "Anthony Carlucci (Resolved) (JIRA)" <ji...@apache.org> on 2012/03/02 22:15:59 UTC

[jira] [Resolved] (RAVE-502) Unable to load an initial_data.sql file in Oracle

     [ https://issues.apache.org/jira/browse/RAVE-502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anthony Carlucci resolved RAVE-502.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.9-INCUBATING
    
> Unable to load an initial_data.sql file in Oracle
> -------------------------------------------------
>
>                 Key: RAVE-502
>                 URL: https://issues.apache.org/jira/browse/RAVE-502
>             Project: Rave
>          Issue Type: Bug
>    Affects Versions: 0.8-INCUBATING
>            Reporter: Anthony Carlucci
>            Assignee: Anthony Carlucci
>            Priority: Minor
>             Fix For: 0.9-INCUBATING
>
>
> When loading an initial_data.sql file in Oracle the o.a.r.jdbc.util.DataSourcePopulator fails with an "Invalid operation for forward only resultset : first".  This is because the Statement is producing a non-scrollable ResultSet.
> Fix:  Create the Statement with a ResultSet.TYPE_SCROLL_INSENSITIVE flag.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira