You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@deltaspike.apache.org by titou10 titou10 <ti...@gmail.com> on 2013/01/07 16:10:28 UTC

@Transactional usage : how to rollback and equivalent of EJB @TransactionAttribute ?

(this message have been sent originally to the dev list by error. Sorry for
that)

Hi,
When a method is annotated with @Transactional, what is the best way
to provoke a rollbak of the transaction?
Also are their conditions that will automatically provoke a rollback ?
(like throwing a RuntimeException)
Also is the an equivalent to the EJB @TransactionAttribute annotation?

I didn't find anything on this in the DS nor in CODI docs

thx