Re: Cayenne with Transaction Manager (Atomikos)

2016-09-23 Thread Frank Herrmann
Thanks Andrus. Fortunately, even with Bitronix, we created a custom SpringDataSourceFactor for Cayenne that allows Cayenne to participate in a Spring managed transaction. It looks like that will service me as well for Atomikos, since Spring is handling the transaction, not Cayenne. I'll let you

Re: Cayenne with Transaction Manager (Atomikos)

2016-09-22 Thread Andrus Adamchik
Hi Frank, As you see, with a few exceptions, Cayenne community just delegates transactions to Cayenne and rarely cares about external tx manager. At the same time we are quietly improving public transaction API in Cayenne, and I am interested to see how that works Atomikos and other tx

Re: Cayenne with Transaction Manager (Atomikos)

2016-09-21 Thread Frank Herrmann
Currently we have Bitronix. However, Bitronix hasn't been updated in years and is dead as a project. We need transaction management because we write to both a database and a JMS queue (ActiveMQ). We have existing custom code to allow Cayenne to participate in a Spring managed transaction. I was

Re: Cayenne with Transaction Manager (Atomikos)

2016-09-20 Thread Aristedes Maniatis
On 20/09/2016 11:30pm, Frank Herrmann wrote: > Hello all, > > I was wondering if anyone has had any experience using a transaction > manager with Cayenne. Currently, we use Bitronix with a lot of custom, > buggy, code wrapped around it. We are in the process of switching to > Atomikos. Does