Retrieving multiple result sets from a stored procedure in a JDBC application

If you call a stored procedure that returns result sets, you need to include code to retrieve the result sets.

About this task

The steps that you take depend on whether you know how many result sets are returned, and whether you know the contents of those result sets.