JPA Methodin javax.persistence.EntityTransactionvoid setRollbackOnly() Mark the current resource transaction so that the only possible outcome of the transaction is for the transaction to be rolled back. Throws:IllegalStateException - if isActive() is falseSince:JPA 1.0