db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Hillegas <Richard.Hille...@Sun.COM>
Subject JDBC4 compliance question, was: [jira] Commented: (DERBY-1288) Bring Derby into JDBC compliance by supporting executeQuery() on escaped procedure invocations
Date Tue, 09 May 2006 16:10:06 GMT
Hi Lance,

I agree with Knut Anders' interpretation of the javadoc for 
java.sql.Statement. He is investigating how executeQuery() and 
executeUpdate() should behave when the query text invokes a stored 
procedure:

1) executeQuery() should raise an error if the procedure does not return 
EXACTLY one ResultSet

2) executeUpdate() should raise an error if the procedure returns ANY 
ResultSets. Otherwise executeUpdate() should return 0.

Is this your interpretation, also?

Thanks,
-Rick

Mime
View raw message