aspose 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 Soft Skills this week in the Jobs Discussion 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
 
Consider Paul's rocket mass heater.
 
subject: Dynamically creating stored Procudure in JAVA