Re: TransactionRequiredException when a transaction should exist

2020-05-08 Thread Luís Alves
_ > From: Gilberto > Sent: Thursday, 7 May, 2020 5:12 PM > To: users@deltaspike.apache.org > Subject: Re: TransactionRequiredException when a transaction should exist > > > What I guess might be relevant is that t

Re: TransactionRequiredException when a transaction should exist

2020-05-07 Thread Lucian BRANCOVEAN
update with an existing object, and what does that have to do with extended persistence contexts? Lucian From: Gilberto Sent: Thursday, 7 May, 2020 5:12 PM To: users@deltaspike.apache.org Subject: Re: TransactionRequiredException when a transaction shou

Re: TransactionRequiredException when a transaction should exist

2020-05-07 Thread Gilberto
0.1-SNAPSHOT.war//[..]StuffRepository$$DSPartialBeanProxy.save(Unknown > Source) > > > Lucian > > > From: Gilberto > Sent: Thursday, 7 May, 2020 3:45 PM > To: users@deltaspike.apache.org > Subject: Re: Transac

Re: TransactionRequiredException when a transaction should exist

2020-05-07 Thread Lucian BRANCOVEAN
Lucian From: Gilberto Sent: Thursday, 7 May, 2020 3:45 PM To: users@deltaspike.apache.org Subject: Re: TransactionRequiredException when a transaction should exist @ApplicationScoped is for your class which has several producers (requested-scope I th

Re: TransactionRequiredException when a transaction should exist

2020-05-07 Thread Gilberto
onStrategy > is configured as global-alternative > > This is what I understood to be required in my case. Should I use > BeanManagedUserTransactionStrategy instead? What is the difference? > > Anything else I should check? > > Lucian > > ____ > From: Gerhard P

Re: TransactionRequiredException when a transaction should exist

2020-05-07 Thread Lucian BRANCOVEAN
check? Lucian From: Gerhard Petracek Sent: Thursday, 7 May, 2020 11:58 AM To: users@deltaspike.apache.org Subject: Re: TransactionRequiredException when a transaction should exist hi lucian, please ensure that you are using the correct setup for ee-servers (esp. see [1] and [2]). regards, ger

Re: TransactionRequiredException when a transaction should exist

2020-05-07 Thread Gerhard Petracek
hi lucian, please ensure that you are using the correct setup for ee-servers (esp. see [1] and [2]). regards, gerhard [1] http://deltaspike.apache.org/documentation/data.html#3.CompleteAdditionalProjectConfiguration [2] http://deltaspike.apache.org/documentation/jpa.html#JTASupport Am Mo., 4

TransactionRequiredException when a transaction should exist

2020-05-04 Thread Lucian BRANCOVEAN
Hi, I am using Deltaspike 1.9.3 in Wildfly 14. I have a CDI bean with a method that is supposed to insert or update an entity, like this: @Named @ApplicationScoped public class StuffService { @Inject private StuffRepository repository; // StuffRepository extends EntityRepository ...