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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to