Derby
  1. Derby
  2. DERBY-1098

isDefinitelyWritable on client returns true where embedded returns false

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.2.1.6
    • Fix Version/s: None
    • Component/s: JDBC, Network Client
    • Environment:
      Solaris 10/x86, Sun Java 1.4.2
    • Urgency:
      Low
    • Bug behavior facts:
      Embedded/Client difference

      Description

      ResultSetMetaData#isDefinitelyWritable on the client does the same test
      as isWritable.

      The embedded driver is more pessimistic, and always returns false.
      The comment is the embedded code says:

      // we just don't know if it is a base table column or not

      For the present implementation of updatable result set (forward only), under
      which conditions would the update fail? Or is the client correct correct here?

        Issue Links

          Activity

          Hide
          Kathey Marsden added a comment -

          Triage for 10.8. I tend to think the client should at be at least as pessimistic as embedded, but don't know if embedded is being too pessimistic.

          Show
          Kathey Marsden added a comment - Triage for 10.8. I tend to think the client should at be at least as pessimistic as embedded, but don't know if embedded is being too pessimistic.

            People

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

              Dates

              • Created:
                Updated:

                Development