Announcement

Collapse

Mirth Connect 3.12.0 Released!

Mirth Connect 3.12.0 is now available as an appliance update and on our GitHub page. This release includes database performance improvements, improves visual HL7 representation, message pruning, keystore handling, PDF generation, community contributions, and fixes several security vulnerabilities. This release also contains many 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