Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-3755

ij's help text lacks the optional [HOLD | NOHOLD] syntax for GET CURSOR

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.5.1.1
    • Component/s: Tools
    • Labels:
      None

      Description

      ij's help command shows the syntax of GET CURSOR as:

      GET [SCROLL INSENSITIVE] CURSOR name AS 'SQL-J query';
      – gets a cursor (JDBC result set) on the query
      – SCROLL cursors are only available
      – in JDBC 2.0 and higher.
      – (Cursor scroll type is ignored in JDBC 1.X.)

      One can actually also specify holdability, so the syntax show read:

      GET [SCROLL INSENSITIVE] [HOLD | NOHOLD] CURSOR name AS 'SQL-J query';

      and the comment should also state that HOLD is the default.

        Attachments

        1. derby-3755.diff
          14 kB
          Dag H. Wanvik
        2. derby-3755.stat
          0.9 kB
          Dag H. Wanvik
        3. derby-3755-2.diff
          14 kB
          Dag H. Wanvik
        4. derby-3755-2.stat
          0.9 kB
          Dag H. Wanvik

          Issue Links

            Activity

              People

              • Assignee:
                dagw Dag H. Wanvik
                Reporter:
                dagw Dag H. Wanvik
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: