I do not know what Mercator Map is.
No, you should only call the SP once to get the entire result set. Try it by using the CLP and see what you get.
To use java, it would look something like:
Code:
java.sql.CallableStatement cstmt;
java.sql.ResultSet rs;
int parm1;
...
cstmt = dbConnection.prepareCall('{call myschema.mysp(?)}');
cstmt.setInt(1,parm1);
rs = cstmt.executeQuery();
while (rs.next()) do
{
// process entire result set here
}
rs.close();
Andy