log.debug("Setting the JDBC connection to read only");
if (log.isDebugEnabled()) log.debug("Setting the JDBC connection "+aConnection+" to read only, current state:"+ " isReadOnly="+aConnection.isReadOnly()+ ", isolation level="+aConnection.getTransactionIsolation()); aConnection.commit();
    public void _configureReadOnly(Connection aConnection) throws SQLException {        log.debug("Setting the JDBC connection to read only");        aConnection.createStatement().executeUpdate(_readOnlySessionProperties());    }