This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JDBC and the fly likes OUT parameter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "OUT parameter" Watch "OUT parameter" New topic

OUT parameter

MaheshS Kumbhar
Ranch Hand

Joined: Sep 24, 2009
Posts: 188
In case of Callable Statement, I am clear about IN parameters but unclear about OUT parameter. Just want to know what are OUT parameters.

I am slow but sure
Jan Cumps

Joined: Dec 20, 2006
Posts: 2497

OUT parameters are a mechanism to pass information from the stored procedure to your application.

You use the IN parameters to pass info to the stored procedure.
You call the stored procedure.
You use the OUT parameters to retrieve info from the stored procedure.

OCUP UML fundamental and ITIL foundation
youtube channel
I agree. Here's the link:
subject: OUT parameter