Class DerbyConnectionHelper

    • Field Detail

    • Constructor Detail

      • DerbyConnectionHelper

        public DerbyConnectionHelper​(DataSource dataSrc,
                                     boolean block)
        Parameters:
        dataSrc - the DataSource on which this helper acts
        block - whether to block on connection loss until the db is up again
    • Method Detail

      • shutDown

        public void shutDown​(String driver)
                      throws SQLException
        Shuts the embedded Derby database down.
        Parameters:
        driver - the driver
        Throws:
        SQLException - on failure