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

javax.sql.rowset.BaseRowSet.getFetchDirection: initial value

XMLWordPrintable

    • beta
    • sparc
    • solaris_2.6



      Name: sdR10048 Date: 08/28/2003


      Filed By : SPB JCK team (###@###.###)
      JDK : java full version "1.5.0-beta-b16"
      JCK : 1.5
      Platform[s] : Solaris
      JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto
      Failing Test [s] : api/javax_sql/rowset/BaseRowSet/index.html#FetchDirection[BaseRowSet2042]


      Specification excerpt:
      ======================
      --------- J2SE API spec v.1.5 ---------
      ...
          public int getFetchDirection() throws SQLException
          . . .
           @throws SQLException if an error occurs in determining the rows
               current row fetch direction; or if no fetch direction has
               been internally set.
      ---------- end-of-excerpt ---------------

      Problem description
      ===================
      The spec says that SQLException should be thrown if no fetch-direction has
      been set before. Well currently BaseRowSet.getFetchDirection does not
      throw exception in this case.

      JCK test source location:
      ==========================
      At this moment 28 aug 2003) the designated testcase is not in JCK 15 ws yet.

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

            skaushiksunw Shreyas Kaushik (Inactive)
            dsvsunw Dsv Dsv (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: