Rave
  1. Rave
  2. RAVE-502

Unable to load an initial_data.sql file in Oracle

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.8-INCUBATING
    • Fix Version/s: 0.9-INCUBATING
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Activity

        Anthony Carlucci created issue -
        Anthony Carlucci made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        Anthony Carlucci made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Fix Version/s 0.9-INCUBATING [ 12319861 ]
        Resolution Fixed [ 1 ]
        Matt Franklin made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Anthony Carlucci
            Reporter:
            Anthony Carlucci
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development