Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5043058

BaseRowSet.setNull(int, int) contains inconcistent note.

    Details

    • Subcomponent:
    • Resolved In Build:
      beta2
    • CPU:
      sparc
    • OS:
      solaris_2.6

      Description



      Name: vsR10316 Date: 05/06/2004


      Filed By : SPB JCK team (###@###.###)
      JDK :
      JCK : 1.5
      Platform[s] : Solaris
      switch/Mode :
      JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto
      Failing Test [s] : N/A


      Specification excerpt:
      ======================
      --------- J2SE API spec v.1.5 ---------
      ...
      javax.sql.rowset.BaseRowSet

      public void setNull(int parameterIndex,
                          int sqlType)
                   throws SQLException

      ...

       Note that this version of the method setNull is used when the value to be set to SQL NULL is a user-defined type (UDT). The additional parameter specifies the fully-qualified name of the UDT.

      ...
      ...
      ---------- end-of-excerpt ---------------

      Problem description
      ===================
      The note from specification seems to be inconsistent with signature for this method. There is overloaded method setNull(int, int,String) that compliant with this note.

      This note should be removed from specification for BaseRowSet.setNull( int, int)

      JCK test source location:
      ==========================
      /java/re/jck/1.5/promoted/latest/JCK-runtime-15/tests
          
      ======================================================================

        Attachments

          Activity

            People

            • Assignee:
              mfishersunw Maydene Fisher (Inactive)
              Reporter:
              duke J. Duke (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: