Name: krT82822 Date: 09/23/99
The JDBC specification doesn't say whether
Statement.getWarnings() may be called after a statement has
been closed. The Sybase jConnect driver throws an exception,
while it's possible that other drivers may have warnings to
report as a result of the close() call. Clarifying this and
adding it to the test suite would make it easier to write
driver-independent code.
Similar issues apply to Connection.getWarnings() and in general
the specification should say more about when warnings may be
generated and fetched so we can make sure they're always
reported.
(Review ID: 95614)
======================================================================