Testing database connection Using Javascript in outbound database connector in Mirth
        Posted  
        
            by amp123
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by amp123
        
        
        
        Published on 2010-05-13T14:52:22Z
        Indexed on 
            2010/05/25
            14:01 UTC
        
        
        Read the original article
        Hit count: 628
        
I have database handle in channelMap (for 1 connection for all messages) and I reuse the connection for all messages. Now, before performing inserts (to a MySQL database), I want to test if the connection still exists. How do I perform this test?
© Stack Overflow or respective owner