If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > How do we create MySQL Stored Function or Procedure from Java JDBC Library?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-02-09, 02:08
Aster Saini Aster Saini is offline
Registered User
 
Join Date: Dec 2009
Posts: 2
How do we create MySQL Stored Function or Procedure from Java JDBC Library?

Hi,

I want to create MySQL stored function and procedure from Java using the JDBC Library.

Tried with different ways, but coulnt get that working.

Any suggestion or code would be really helpful.

Thanks,
Reply With Quote
  #2 (permalink)  
Old 12-02-09, 07:46
BettingSherlock BettingSherlock is offline
Registered User
 
Join Date: May 2007
Posts: 78
Quote:
Originally Posted by Aster Saini View Post
Hi,

I want to create MySQL stored function and procedure from Java using the JDBC Library.

Tried with different ways, but coulnt get that working.

Any suggestion or code would be really helpful.

Thanks,
Set the procedure from a script.
No reason whatsoever to want to do that from inside an application software, it's something you do when you create the database.

If you do want to initiate it from inside an application then issue the command that will run the script that created the procedure.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On