deltaspike with javax.transaction.Transactional

2018-02-06 Thread Luís Alves
Will deltaspike work with javax.transaction.Transactional? Do I need to specify an interceptor? Where can I find an example?

Re: deltaspike with javax.transaction.Transactional

2018-02-06 Thread Luís Alves
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" escreveu: > Yes, in general javax.transaction.Transactional works well. Depending on > your server, you may need

Re: deltaspike with javax.transaction.Transactional

2018-02-06 Thread John D. Ament
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 wrote: >

Re: deltaspike with javax.transaction.Transactional

2018-02-06 Thread Mark Struberg
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

Re: deltaspike with javax.transaction.Transactional

2018-02-06 Thread Luís Alves
I want to use DS repositories, that's why I've asked about Transactional. As I use Wildfly 10, I can use the standard Transactional instead of the DS one. @Mark: thanks for your point of view. I wan't to stay as standard as possible, but if I have strange behaviors I'll switch for DS annotation.