switch (getIscTransactionIsolation()) { case ISCConstants.isc_tpb_consistency : return Connection.TRANSACTION_SERIALIZABLE; case ISCConstants.isc_tpb_concurrency : return Connection.TRANSACTION_REPEATABLE_READ; case ISCConstants.isc_tpb_read_committed : return Connection.TRANSACTION_READ_COMMITTED; default: throw new FBResourceException("Unknown transaction isolation level"); }
return txIsolation;
    public int getTransactionIsolation() throws ResourceException {        switch (getIscTransactionIsolation()) {            case ISCConstants.isc_tpb_consistency : return Connection.TRANSACTION_SERIALIZABLE;            case ISCConstants.isc_tpb_concurrency : return Connection.TRANSACTION_REPEATABLE_READ;            case ISCConstants.isc_tpb_read_committed : return Connection.TRANSACTION_READ_COMMITTED;            default: throw new FBResourceException("Unknown transaction isolation level");        }    }