• Post Reply Bookmark Topic Watch Topic
  • New Topic

Dynamically creating stored Procudure in JAVA  RSS feed

 
sathishi kumarar
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 423
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!