Skip to content

Commit 37155a3

Browse files
authored
Merge pull request #67 from ianbondoc/patch-1
Support setting non-standard isolation level
2 parents b80182c + 9b1e174 commit 37155a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ebean-datasource/src/main/java/io/ebean/datasource/pool/TransactionIsolation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ static String getDescription(int level) {
2525
case -1:
2626
return "NotSet";
2727
default:
28-
throw new RuntimeException("Transaction Isolation level [" + level + "] is not defined.");
28+
return "UNKNOWN[" + level + "]";
2929
}
3030
}
3131
}

0 commit comments

Comments
 (0)