Results 1 to 3 of 3
  1. #1
    sid7 is offline Member
    Join Date
    Aug 2010
    Rep Power

    Default Is it possible to export Stored Procedures using JDBC?

    Is it possible to export a proc as text via JDBC ?

    I don't see any such functionality that DatabaseMetaData provides...also can't find anything on the net either.

    Has anyone come across this problem before?

    The text would be the proc's create statement.

    I'd appreciate any help on this.


  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Rep Power


    Each database stores a stored procedure differently, so you'd need to do it for each inidividual db. In other words, I think there's a likely to be a table or view with the SP code in it.

  3. #3
    gafa's Avatar
    gafa is offline Senior Member
    Join Date
    Jun 2010
    Rep Power

Similar Threads

  1. Executing stored procedures
    By mew in forum JDBC
    Replies: 3
    Last Post: 08-20-2008, 06:47 PM
  2. Stored Procedures
    By geeta_ravikanti in forum JDBC
    Replies: 1
    Last Post: 04-22-2008, 03:34 AM
  3. Stored Procedures with java
    By Albert in forum JDBC
    Replies: 4
    Last Post: 06-08-2007, 06:59 AM
  4. stored procedures in Hibernate
    By Alan in forum JDBC
    Replies: 2
    Last Post: 05-31-2007, 05:49 PM

Posting Permissions

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