Statement.setQueryTimeout needs to be updated to reference SQLTimeoutException

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 7
    • Affects Version/s: cts_5.0
    • Component/s: core-libs
    • None
    • b120
    • generic
    • generic
    • Not verified

      The javadocs for Statement.setQueryTimeout needs updated:

      > Statement#setQueryTimeout:
      > > void setQueryTimeout(int seconds)
      > > throws SQLException
      > >
      > > Sets the number of seconds the driver will wait for a Statement object
      > > to execute to the given number of seconds. If the limit is exceeded,
      > > an SQLException is thrown.
      > > ************
           The above should be changed to be SQLTimeoutException?

            Assignee:
            Lance Andersen
            Reporter:
            Lance Andersen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: