2nd try. not sure why the whole file shown in diff before

pull/347/head
Nitin
parent acb7d41961
commit f6e9793034

@ -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);
}
}

Loading…
Cancel
Save