Click here to Skip to main content
15,914,010 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i m using java & i want to call a function with just a return paramter from database to java
& i'm having this code & now i want this perticular method in main method
C#
cs = connection.prepareCall("{? = call myfunc}");
// Register the type of the return value
cs.registerOutParameter(1, 15);
// Execute and retrieve the returned value
cs.execute();
String retValue = cs.getString(1);
Posted
Updated 31-Jul-13 23:37pm
v2

1 solution

Perfect, you have our permission, go ahead.

Since you didn't ask any question, it is difficult to give you a better answer.

I strongly recommend you to read:
How to ask a question[^] and What have you tried?[^]

P.S. Written as solution to avoid this "question" to be in the unanswered list
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900