Hi!

Please note that @javax.transaction.Transactional and deltaspike @Transactional 
work pretty different under the hood.

With javax.transaction.Transactional you will get the weird transaction 
handling of EJB [1].
It's also not that portable as it seems. There are huge definition gaps in the 
tx spec as well. E.g. whether you can catch Exceptions, transaction boundaries 
etc.

Needless to say I'm not a fan of javax.transaction.Transactional ;)

LieGrue,
strub


[1] 
https://struberg.wordpress.com/2015/04/21/transaction-and-exception-handling-in-ejbs-and-javaee7-transactional/


> Am 06.02.2018 um 20:38 schrieb Mauro Chi <[email protected]>:
> 
> If you use wildfly10 it came with jeee7 that already   came with
> annotation@Transactional.
> 
> So if you use wildfy 10 you dont have to use  deltaspike.
> Mauro
> 
> Il 6 feb 2018 19:31, "Luís Alves" <[email protected]> ha scritto:
> 
>> Left the office already...It's wildfly 10 dot something. I'll give the
>> exact version and strategy used tomorrow.
>> 
>> Regards
>> 
>> Em 06/02/2018 18:11, "John D. Ament" <[email protected]> escreveu:
>> 
>>> Yes, in general javax.transaction.Transactional works well.  Depending
>> on
>>> your server, you may need to just point to the container managed
>>> transaction approach.  What container are you deploying to (including
>>> version)?
>>> 
>>> On Tue, Feb 6, 2018 at 12:37 PM Luís Alves <[email protected]>
>> wrote:
>>> 
>>>> Will deltaspike work with javax.transaction.Transactional?
>>>> Do I need to specify an interceptor?
>>>> Where can I find an example?
>>>> 
>>> 
>> 

Reply via email to