You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe you also need to set the isolation level. I did that in the getConnection method of the TransactionalConnectionProvider with e.g. com.arjuna.ats.jdbc.common.jdbcPropertyManager.getJDBCEnvironmentBean().setIsolationLevel( Connection.TRANSACTION_READ_COMMITTED);
Hello All,
I've modified org.hibernate.demos.jpacditesting.CdiJpaTest a litte bit and I get an ARJUNA017003 Exception:
checking transaction and found that this connection is already associated with a different transaction! Obtain a new connection for this transaction.
https://github.com/duschata/hibernate-demos/blob/ARJUNA017003/other/cdi-jpa-testing/src/test/java/org/hibernate/demos/jpacditesting/CdiJpaTest.java#L156-L184
Works this as expected or is this a bug? How can I test my services which are annotated with REQUIRES_NEW?
Kind Regards
Tom
The text was updated successfully, but these errors were encountered: