|
|
|
Re: joinTransaction() opens transaction? [message #1787041 is a reply to message #1786821] |
Thu, 17 May 2018 14:54 |
Chris Delahunt Messages: 1389 Registered: July 2009 |
Senior Member |
|
|
You should show your setup, especially the persistence.xml and datasource to make this occur, and set logging to finest or all to show details on the SQL and transaction behaviour within EclipseLink. JPA EntityManager joinTransaction() method is required to throw TransactionRequiredException if it is called outside of at transaction, are you getting that in your log? If so, show the stack, but as mentioned, if there is a problem with your transaction behaviour in the container, the issue is likely within your container - EclipseLink does not start external transactions.
Edit: checking out the link at http://www.logitags.com/cibet/faq.html#a9 and it seems you've tracked down the issue to this being configured as resource local. If it is resolved, please update the bugs, otherwise update them with the logs and config required to reproduce.
[Updated on: Thu, 17 May 2018 15:04] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03153 seconds