commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 15539] New: - Strange Result Set on output
Date Thu, 19 Dec 2002 17:16:04 GMT
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:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message