public void setIsolation ( String iso ) throws JspTagException { if ( TRANSACTION_READ_COMMITTED . equals ( iso ) ) { isolation = Connection . TRANSACTION_READ_COMMITTED ; } else if ( TRANSACTION_READ_UNCOMMITTED . equals ( iso ) ) { isolation = Connection . TRANSACTION_READ_UNCOMMITTED ; } else if ( TRANSACTION_REPEATABLE_READ . equals ( iso ) ) { isolation = Connection . TRANSACTION_REPEATABLE_READ ; } else if ( TRANSACTION_SERIALIZABLE . equals ( iso ) ) { isolation = Connection . TRANSACTION_SERIALIZABLE ; } else { throw new JspTagException ( Resources . getMessage ( "TRANSACTION_INVALID_ISOLATION" ) ) ; } }
Setter method for the transaction isolation level .