Class DerbyConnectionHelper

java.lang.Object
org.apache.jackrabbit.core.util.db.ConnectionHelper
org.apache.jackrabbit.core.util.db.DerbyConnectionHelper

public final class DerbyConnectionHelper extends ConnectionHelper
  • Field Details

  • Constructor Details

    • 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 Details

    • shutDown

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