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

javax.sql.rowset.RowSetMetaDataImpl.setCatalogName: null reaction

XMLWordPrintable

    • beta
    • sparc
    • solaris_2.6



      Name: sdR10048 Date: 09/01/2003


      Filed By : SPB JCK team (###@###.###)
      JDK : java full version "1.5.0-beta-b16"
      JCK : 1.5
      JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto


      Specification excerpt:
      ======================
      --------- J2SE API spec v.1.5 ---------
      ...
      public void setCatalogName(int columnIndex,
                                 java.lang.String catalogName)
                          throws java.sql.SQLException
      Sets the catalog name of the table from which the designated column was derived to the given catalog name.

      Specified by:
      setCatalogName in interface javax.sql.RowSetMetaData
      Parameters:
      columnIndex - the first column is 1, the second is 2, and so on; must be between 1 and the number of columns, inclusive
      catalogName - the column's table's catalog name; may be ""
      Throws:
      SQLException - if a database access error occurs or the given column number is out of bounds
      java.sql.SQLException
      ...
      ---------- end-of-excerpt ---------------

      Problem description
      ===================
      The spec does not specify the expected nehaviour in case 'catalogName' == null.
      See_Also:
      http://java.sun.com/j2se/javadoc/writingapispecs/index.html


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

      Name: sdR10048 Date: 09/02/2003

      The same problem with:
      RowSetMetaDataImpl.setDataSourceName(null)
      RowSetMetaDataImpl.setTypeMap(null)
      RowSetMetaDataImpl.setColumnLabel(, null)
      RowSetMetaDataImpl.setSchemaName(, null)


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

            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: