I am calling a Stored procedure running on DB2 7.2 on OS/390. The stored procedure returns multiple result sets. I am using WSADIE 5.0.0 to call the stored procedure. If I create the connection to the DB myself in code ie:
Class.forName("COM.ibm.db2.jdbc.app.DB2Driver").ne wInstance();
Connection connection = DriverManager.getConnection("jdbc:db2:testc","XXX" ,"XXX");
I am able to get the both resultSets back.
Once I start using the connection pooling built into WSADIE, the second resultSet comes back but once I call the resultSet.next() it fails with a null pointer exception.
I am currently using the driver from the db2java.zip file.
Any ideas why the connection pooling would be screwing things up?
Thanks for the help!