File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Getting value from stored procedure ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Getting value from stored procedure ??" Watch "Getting value from stored procedure ??" New topic

Getting value from stored procedure ??

Em Aiy
Ranch Hand

Joined: May 11, 2006
Posts: 226

I am calling a store procedure from Java, I am not sure how i'll recieve the value of the parameter with "OUT" tag in store procedure. Will, i receive this variable in Java as a result set, or it'll be stored in the variable which is used to when i was calling the store procedure.

sorry for English.

The difference between <b>failure</b> and <b>success</b> is often being <b>right</b> and being <b>exactly right</b>.
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

(Don't apologize for your English - its good )
[ November 23, 2006: Message edited by: Paul Sturrock ]

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Em Aiy
Ranch Hand

Joined: May 11, 2006
Posts: 226
thanks paul, you saved my time for googling this code and thanks for praising english as well. ;)
I agree. Here's the link:
subject: Getting value from stored procedure ??