Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2009
    Posts
    2

    Unanswered: 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,

  2. #2
    Join Date
    May 2007
    Posts
    80
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •