setRollbackOnly

void setRollbackOnly()

Set the transaction rollback-only. This instructs the transaction manager
that the only possible outcome of the transaction may be a rollback, as
alternative to throwing an exception which would in turn trigger a rollback.