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

client: lobs fails silently with result sets of type TYPE_SCROLL_INSENSITIVE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.1.1.0, 10.1.2.1, 10.1.3.1, 10.2.1.6
    • 10.2.1.6
    • JDBC, Network Client
    • None

    Description

      The documentation for 10.1
      (http://db.apache.org/derby/docs/10.1/adminguide/cadminappsclientdiffs.html)
      states:

      "Scrollable cursors (ResultSet.TYPE_SCROLL_SENSITIVE or
      ResultSet.TYPE_SCROLL_INSENSITIVE) are not supported using the
      network client if the result set contains LOB
      data. TYPE_FORWARD_ONLY must be specified for result sets containing
      LOB data."

      Unfortunately, this is not signalled when one tries to use it, it just fails silently,
      cf. repro program. Either this should be implemented, or we should throw a
      not implemented exception. For JDBC4 compliancy, it needs to be fixed, I
      think.

      Attachments

        1. derby-1382-doc.diff
          0.9 kB
          Fernanda Pizzorno
        2. derby-1382.diff
          9 kB
          Fernanda Pizzorno
        3. derby-1382.stat
          0.3 kB
          Fernanda Pizzorno
        4. Main.java
          5 kB
          Dag H. Wanvik

        Activity

          People

            fernanda Fernanda Pizzorno
            dagw Dag H. Wanvik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: