Java CallableStatement getString, getInt, etc.?

413 views Asked by At

I have some Java code that uses CallableStatement. I see that the code calls methods in CallableStatement named getString, getInt, etc. The CallableStatement itself invokes a database function (i.e. not s stored procedure).

I was wondering what exactly the getString and similarly named methods do and how they are used. From what I have read, they are used to get OUT parameters from a database function or stored procedure invocation, but I am not exactly sure how the whole thing works.

0

There are 0 answers