File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Dynamically creating stored Procudure in JAVA Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Dynamically creating stored Procudure in JAVA" Watch "Dynamically creating stored Procudure in JAVA" New topic
Author

Dynamically creating stored Procudure in JAVA

sathishi kumarar
Greenhorn

Joined: Dec 09, 2011
Posts: 4
Hi All,

I want to Dynamically Create Stored Procedure using Java..

Is there any way of doing that ?? If so please let me know how to write a code for that

Thanks

sathishkumar
Ireneusz Kordal
Ranch Hand

Joined: Jun 21, 2008
Posts: 423
Hi,

What is your database ?
You must first check if your database and jdbc driver support this type of call.
It is possible on Oracle, here is a working example
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Dynamically creating stored Procudure in JAVA
 
Similar Threads
New Article: JDBC Connection Pooling
How to Store The Java Script Variable Stored in jsp
Why Batch Update Support Only One Single PreparedStatement
Search Stored Procedure
3-D Array