it will be helpful if you can provide an example of aclling stored procedures that return one object or more (for example a stored pro that returns an employee or a SP that returns employees).
My problem here is what is the OUT TYUPE of eather cases ?
CallableStatement cstmt = conn.prepareCall("{? = CALL geOneEmployee(?)}"); cstmt.registerOutParameter(1, what should I put here?);
And
CallableStatement cstmt = conn.prepareCall("{? = CALL geEmployees()}"); cstmt.registerOutParameter(1, what should I put here?);