deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From titou10 titou10 <titou10.tito...@gmail.com>
Subject @Transactional usage : how to rollback and equivalent of EJB @TransactionAttribute ?
Date Mon, 07 Jan 2013 15:03:24 GMT
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

Mime
View raw message