my dog learned polymorphism
The moose likes JDBC and the fly likes OUT parameter Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "OUT parameter" Watch "OUT parameter" New topic
Author

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
Bartender

Joined: Dec 20, 2006
Posts: 2343

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
ITIL foundation
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: OUT parameter
 
Similar Threads
[Resolved] Oracle CallableStatement Invalid Index
Tomcat as a service
Internal Server Error in Websphere in Solaris
How to get method parameter names
Parameter index of 1 is out of range (1, 0) while registering out parameter