?
Solved

Calling a Procedure from Oracle to java

Posted on 2003-02-20
6
Medium Priority
?
238 Views
Last Modified: 2010-03-31
I have made Some Procedure in oracle(8.0). Now I have connect this through Jdbc in my Java Application.Now < i can execute query through Prepared statemnt object but I am not able to call a procedure in Oracle through it. Tell me Is it Possible to call procedure through this object. If not then which way , I can call the procedures in my Java Application.

Thanks in advance.
0
Comment
Question by:vinay_krishna
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 12

Accepted Solution

by:
guidway earned 152 total points
ID: 7987294
0
 
LVL 9

Assisted Solution

by:Venci75
Venci75 earned 148 total points
ID: 7987298
CallableStatement stmt = connection.prepareCall("{call myProc(?,?)}");
stmt.setString(1, "p1");
stmt.setString(2, "p2");
stmt.execute();
0
 

Expert Comment

by:CleanupPing
ID: 9059209
vinay_krishna:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 7

Expert Comment

by:tomboshell
ID: 9553631
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
SPLIT between guidway and Venci75

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Thomas Boshell
EE Cleanup Volunteer
0
 

Author Comment

by:vinay_krishna
ID: 9603760
Now,
        I am Satisfied with the answers. I want to close this question
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses
Course of the Month8 days, 14 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question