On Jan 17, 4:50 pm, ggrothendieck <[email protected]> wrote:
> Is there documentation which tells one which SQL statements return a
> result set and which ones do not.

You can always use the generic execute() method and then test for
result sets and/or update counts:

http://java.sun.com/javase/6/docs/api/java/sql/Statement.html#execute%28java.lang.String%29

"The execute method executes an SQL statement and indicates the form
of the first result. You must then use the methods getResultSet or
getUpdateCount  to retrieve the result, and getMoreResults to move to
any subsequent result(s)."
-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.


Reply via email to