public static Isolation fromSqlIsolationLevel(int level) {
        final Isolation isolation= LEVEL_TO_ISOLATION_MAP.get(level);
        if (isolation == null) {
            throw new IllegalArgumentException("No Isolation exists for " + level);
        }
        return isolation;
    }
An Enum indicating that dirty reads, non-repeatable reads and phantom
reads are prevented. This level includes the prohibitions in
<code>TRANSACTION_REPEATABLE_READ</code> and further prohibits the
situation where one transaction reads all rows that satisfy a
<code>WHERE</code> condition, a second transaction inserts a row that
satisfies that <code>WHERE</code> condition, and the first transaction
rereads for the same condition, retrieving the additional "phantom" row
in the second read.
runtime-parent/runtime-core/src/main/java/com/speedment/runtime/core/component/transaction/Isolation.java