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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.2.1.6
    • 10.2.1.6
    • JDBC
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: