|
|
|
@ -113,7 +113,8 @@ public final class PoolElf
|
|
|
|
|
if (upperName.startsWith("TRANSACTION_")) {
|
|
|
|
|
Field field = Connection.class.getField(upperName);
|
|
|
|
|
return field.getInt(null);
|
|
|
|
|
} else {
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
final int level = Integer.parseInt(transactionIsolationName);
|
|
|
|
|
//its number
|
|
|
|
|
switch (level) {
|
|
|
|
@ -127,7 +128,8 @@ public final class PoolElf
|
|
|
|
|
throw new IllegalArgumentException();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
}
|
|
|
|
|
catch (Exception e) {
|
|
|
|
|
throw new IllegalArgumentException("Invalid transaction isolation value: " + transactionIsolationName);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|