public ExternalTransaction(Configuration configuration, DataSource ds, boolean defaultAutoCommit, boolean setAutoCommitAllowed, int isolationLevel) throws TransactionException {
// Check Parameters
this.configuration = configuration;
dataSource = ds;
if (dataSource == null) {
throw new TransactionException("ExternalTransaction initialization failed. DataSource was null.");
}
this.defaultAutoCommit = defaultAutoCommit;
this.setAutoCommitAllowed = setAutoCommitAllowed;
this.isolationLevel.setIsolationLevel(isolationLevel);