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

          Dag H. Wanvik created issue -
          Dag H. Wanvik made changes -
          Field Original Value New Value
          Link This issue is part of DERBY-310 [ DERBY-310 ]
          Kathey Marsden made changes -
          Derby Categories [Embedded/Client difference]
          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.
          Kathey Marsden made changes -
          Urgency Low
          Labels derby_triage10_8
          Gavin made changes -
          Workflow jira [ 12351907 ] Default workflow, editable Closed status [ 12801390 ]

            People

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

              Dates

              • Created:
                Updated:

                Development