Announcement

Collapse

Mirth Connect 4.1.0 Released!

Mirth Connect 4.1.0 is now available as an appliance update and on our GitHub page. Mirth Connect 4.1.0 includes new features such as new event log messages, additional fields to the Welcome to Mirth Connect screen, new information included in alerts as well as many smaller changes, updates, and improvements. This release also contains several improvements to commercial extensions. See the release notes for the list of fixes and updates.

Download | See What's New | Upgrade Guide | Release Notes

For discussion on this release, see this thread.
See more
See less

Running procedure inside of mirth

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Running procedure inside of mirth

    Hello all !!!

    I'm trying to execute a procedure into mirth using Java Script

    ****
    var dbConn = DatabaseConnectionFactory.createDatabaseConnection ('net.sourceforge.jtds.jdbc.Driver','jdbc:jtdsqlse rver://server:1433/database','sa',
    'password');
    var result = dbConn.executeCachedQuery("EXEC procedure_name");
    dbConn.close();
    return result;
    *****

    and also

    *************
    EXEC procedure_name
    *************

    in the last just pure SQL statement.

    But both examples are not working.

    How can I run a procedure inside of mirth ?

    Thanks
Working...
X