Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dynamically creating stored Procudure in JAVA

 
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic