In case anyone else is experiencing difficulties here is a follow-up.
The issue appears to be due to the TransactionControl service configured with
only with the "osgi.local.enabled=true" property. As soon as we switched to the
TransactionControl service configured with both
ly appreciated!
Thanks
From: Jean-Baptiste Onofré
Sent: Thursday, June 29, 2023 1:05 PM
To: user@karaf.apache.org
Subject: Re: Autocommit is happening even within a transaction manager
Hi Ash,
What kind of datasource are you using ?
Regards
JB
On Wed, Jun 28, 2023 at 7:58 PM Ash Williams
mailto:awilli
Hi Ash,
What kind of datasource are you using ?
Regards
JB
On Wed, Jun 28, 2023 at 7:58 PM Ash Williams wrote:
> Hi,
>
>
>
> We have an issue where sql statements executed by hibernate are being
> immediately committed, despite the fact that the entity manager is managed
> by a (local)
I encountered something very similar a while back. In my case I'm using PAX
JDBC to create the pooled DataSource via config admin. Like you I found
that data was being committed within the transaction lambda.
I determined that this didn't happen with XA DataSources.
I resolved this by providing
Hi,
We have an issue where sql statements executed by hibernate are being
immediately committed, despite the fact that the entity manager is managed by a
(local) transaction. It's my understanding that hibernate and the transaction
manager should together ensure that auto commit is disabled on