Re: ContainerManagedTransactionStrategy

2014-10-05 Thread Thomas Hug
This should be used with a JTA datasource and the call to the repository typically goes through an EJB starting the transaction. Do you have some more context to the error? On Fri, Oct 3, 2014 at 4:58 PM, hwaastad he...@waastad.org wrote: Hi, i was wondering if there is any doc on the usage of

Re: ContainerManagedTransactionStrategy

2014-10-05 Thread hwaastad
Hi TH, and thanks for answering. I'm running JTA datasource and running repository within an EJB transaction. However, what I found out is that I need the entoitymanagerconfig with resolver or else this error occurs. I've made a simple test project

Re: ContainerManagedTransactionStrategy

2014-10-05 Thread Karl Kildén
I use TomEE with Eclipselink and have no issues. I do not recognize nor use the eclipselink properties you have in persistence.xml. Otherwise we have very similar configuration. On 5 October 2014 16:58, hwaastad he...@waastad.org wrote: Hi TH, and thanks for answering. I'm running JTA