You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2002/12/19 18:16:04 UTC

DO NOT REPLY [Bug 15539] New: - Strange Result Set on output

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=15539>.
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=15539

Strange Result Set on output

           Summary: Strange Result Set on output
           Product: Commons
           Version: 1.0 Final
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Dbcp
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: sergey.oudaltsov@clients.ie


I created the stored procedure in MSSQL2000 taking 4 parameters, inserting 1
record and returning nothing. So stmt.execute(..) returns -1. But is still
returns some funny org.apache.commons.dbcp.DelegatingResultSet which gives
NullPointerException on any attempt to examine it (for example, using
getMetaData()). It cannot even be closed, because I get 

java.lang.NullPointerException
        at
org.apache.commons.dbcp.DelegatingResultSet.close(DelegatingResultSet.java).

If I work _directly_ with MS SQL JDBC driver (using DriverManager, not Tomcat's
JNDI), I have no problems - I get NO result set.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>