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

EmbeddedDriver does not implement PreparedStatement.setNull(int, int, String)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.2.1.6
    • Fix Version/s: 10.2.1.6
    • Component/s: JDBC
    • Labels:
      None

      Description

      The embedded driver throws Util.notImplemented() when PreparedStatement.setNull(int, int, String) is called. The javadoc says that "[if] the parameter does not have a user-defined or REF type, the given typeName is ignored." The client driver correctly ignores typeName and forwards the call to setNull(int, int). Embedded should be changed to match the client.

        Attachments

        1. DERBY-1493_v2.diff
          4 kB
          V.Narayanan
        2. DERBY-1493_v2.stat
          0.3 kB
          V.Narayanan
        3. DERBY-1493_v1.diff
          4 kB
          V.Narayanan
        4. DERBY-1493_v1.stat
          0.3 kB
          V.Narayanan

          Issue Links

            Activity

              People

              • Assignee:
                narayanan V.Narayanan
                Reporter:
                knutanders Knut Anders Hatlen
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: