Forums Register Login

How to get a return value from the stored procedure using callable statement

+Pie Number of slices to send: Send
I want to call a stored procedure.
The stored procedure have 3 input parameter and will returm a value.
Description of the stored procedure is
:isClockingProblem(company,emp,clockingdate) return number.
if number=0-->OK
number=1--->bad.

So how to get a return value from the stored procedure using java.
Please help me!!!
+Pie Number of slices to send: Send
What do you mean by stored procedure ? Database stored procedure ?
+Pie Number of slices to send: Send
Yes I want to call a database stored procedure from oracle!!
Give me a solution
+Pie Number of slices to send: Send
There is a JDBC forum for this kind of question.

Anyway, read this tutorial :
http://java.sun.com/docs/books/tutorial/jdbc/basics/sql.html
+Pie Number of slices to send: Send
Moving to JDBC.
Get me the mayor's office! I need to tell him about this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 6238 times.
Similar Threads
executeUpdate() returning unexpected results
Calling Stored Procedure from jdbcTemplate
Stored procedures..
registerOutParameter
VARBINARY in sp -how-to
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 08:02:24.