users@jta-spec.java.net

[jta-spec users] use of UserTransaction from bean/method annotated with @Transactional

From: Paul Parkinson <paul.parkinson_at_oracle.com>
Date: Wed, 20 Mar 2013 19:57:24 -0400

Hello,

> We think it is reasonable to make it illegal to use the
> UserTransaction from a bean/method annotated with @Transactional which
> initiates a JTA transaction or makes use of a preexisting JTA
> transaction.
>
> However, we think that we should give more flexibility to the
> application in the reuse of beans that already use UserTransaction
> that we should not disallow UserTransaction to be used in beans that
> are marked as @Transactional(NEVER) or @Transactional(NOT_SUPPORTED).

Thanks,
Paul