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

SPEC BUG: javax.sql.rowset.RowSetMetaDataImpl: getColumnClassName

XMLWordPrintable

    • beta
    • sparc
    • solaris_2.6



      Name: sdR10048 Date: 10/22/2003


      Filed By : SPB JCK team (###@###.###)
      JDK : java full version "1.5.0-beta-b23"

      Problem description
      ===================
      Javadoc for RowSetMetaDataImpl getColumnClassName says:

      "public java.lang.String getColumnClassName(int columnIndex)
                                          throws java.sql.SQLException
          Retrieves the fully-qualified name of the class in the Java
          programming language to which a value in the designated column will be
          mapped. For example, if the value is an int, the class name returned
          by this method will be java.lang.Integer.

          If the value in the designated column has a custom mapping, this
          method returns the name of the class that implements SQLData. When the
          method ResultSet.getObject is called to retrieve a value from the
          designated column, it will create an instance of this class or one of
          its subclasses.

          Returns: null"

          There is some ambiguity: these two paragraphs are talking about
          some working functionality but @return says about the null output.

          This should be worked out.


      ======================================================================

            jbrucesunw Jonathan Bruce (Inactive)
            dsvsunw Dsv Dsv (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: