DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12733>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12733 [DBCP][PATCH]Statement.getResultSet() doesn't return null if like javadocs Summary: [DBCP][PATCH]Statement.getResultSet() doesn't return null if like javadocs Product: Commons Version: Nightly Builds Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Dbcp AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] getResultSet() for java.sql.Statement(): the current result as a ResultSet object; null if the result is an update count or there are no more results Currently DelegatingPreparedStatement,DelegatingCallableStatement, and DelegatingStatement return a DelegatingResultSet where the delegate resultset is null which will cause a NPE on future operations. Attached is a patch for the 3 files to check for null from getResultSet() via cvs diff from the HEAD tag -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
