I read the other post about WrappedResultSet, makes sense, but it causes a problem 
with our application:

JBoss throws an IllegalArgumentException when trying to call getResultSet() if the rs 
is null.  This can happen if, for example, you do an insert and an update count is 
returned.  According to the API javadoc for Statement.getResultSet(), the method 
should return null if the result is an update count.  In our case, we can work around 
this by checking the return value of Statement.execute() instead of getResultSet(), 
but I don't think the exception is correct behavior.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838158#3838158

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838158


-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to