case Connection.TRANSACTION_REPEATABLE_READ : setIscTransactionIsolation(ISCConstants.isc_tpb_concurrency); break; case Connection.TRANSACTION_READ_COMMITTED : setIscTransactionIsolation(ISCConstants.isc_tpb_read_committed); break; case Connection.TRANSACTION_READ_UNCOMMITTED : setIscTransactionIsolation(ISCConstants.isc_tpb_read_committed); break; default: throw new FBResourceException("Unsupported transaction isolation level");
default: throw new FBResourceException( "Unsupported transaction isolation level");
    public void setTransactionIsolation(int level) throws ResourceException {        switch (level)         {        case Connection.TRANSACTION_SERIALIZABLE :            setIscTransactionIsolation(ISCConstants.isc_tpb_consistency);            break;        case Connection.TRANSACTION_REPEATABLE_READ :            setIscTransactionIsolation(ISCConstants.isc_tpb_concurrency);            break;        case Connection.TRANSACTION_READ_COMMITTED :            setIscTransactionIsolation(ISCConstants.isc_tpb_read_committed);            break;        case Connection.TRANSACTION_READ_UNCOMMITTED :            setIscTransactionIsolation(ISCConstants.isc_tpb_read_committed);            break;        default: throw new FBResourceException("Unsupported transaction isolation level");        }    }