@Override
    public void destroy() {
        // Shutdown the database.
        Connection con = null;
        PreparedStatement pstmt = null;
        try {
            con = getConnection();
            pstmt = con.prepareStatement("SHUTDOWN");
            pstmt.execute();
        }
        catch (SQLException sqle) {
            Log.error(sqle.getMessage(), sqle);
        }
        finally {
            DbConnectionManager.closeConnection(pstmt, con);
        }
    }
A connection provider for the embedded hsqlDB database. The database file is stored at
{@code home/database}. The log file for this connection provider is stored at
{@code [home]/logs/EmbeddedConnectionProvider.log}, so you should ensure
that the {@code [home]/logs} directory exists.

@author Matt Tucker
xmppserver/src/main/java/org/jivesoftware/database/EmbeddedConnectionProvider.java