if user specified, set transaction isolation level

pull/539/head
Nitin 9 years ago
parent ce50c2cfd6
commit fde88d0659

@ -327,7 +327,11 @@ abstract class PoolBase
connection.setReadOnly(isReadOnly);
connection.setAutoCommit(isAutoCommit);
connection.setTransactionIsolation(transactionIsolation);
if (transactionIsolation != -1) {
connection.setTransactionIsolation(transactionIsolation);
}
if (catalog != null) {
connection.setCatalog(catalog);
}

Loading…
Cancel
Save