Re: OpenJPA and auto-commit

2014-12-02 Thread Charlie Mordant
Hi Kevin, Thank you for the idea, I'll do so :). Best regards, Charlie 2014-12-01 23:31 GMT+01:00 Kevin Sutter kwsut...@gmail.com: Hi Charlie, Most of my experience is in the Java EE space, not the OSGi/Aries environment. Since WebSphere is using both Aries and OpenJPA, and WebSphere

Re: OpenJPA and auto-commit

2014-12-02 Thread Rick Curtis
Charlie - Sorry I meant to reply to this thread while I was out on vacation. Can I have you post the entire stacktrace for the problem you're running into? This problem sounds familiar, but I can't recall the details. Thanks, Rick On Tue, Dec 2, 2014 at 3:09 AM, Charlie Mordant

Re: Set cascading-persist gobally or through ReverseMappingTool

2014-12-02 Thread Rick Curtis
Before we dive into looking at making a change to the ReverseMapping tool, lets look a bit closer at the problem that you've encountered. Can you post more details about what is going on when you get the Suggested actions: a) Set the cascade attribute for this field to CascadeType.PERSIST or

Re: OpenJPA and auto-commit

2014-12-02 Thread Charlie Mordant
Hi Rick, Here's the full Trace, notice that sometimes, connection null arguments error is not here, I'll try (not really voluntarily) to have one in the next days. 2014-12-02 10:14:00,227 | ERROR | tenerContainer-1 | ServiceRecipe | 15 - org.apache.aries.blueprint.core - 1.4.1 |

Re: OpenJPA and auto-commit

2014-12-02 Thread Rick Curtis
Will you also post the contents of your persistence.xml? Thanks, Rick On Tue, Dec 2, 2014 at 10:33 AM, Charlie Mordant cmorda...@gmail.com wrote: Hi Rick, Here's the full Trace, notice that sometimes, connection null arguments error is not here, I'll try (not really voluntarily) to have one

Re: OpenJPA and auto-commit

2014-12-02 Thread Charlie Mordant
Hello again Rick, On my side, the bug seems to be a pax-jdbc-pool-aries one, I switched to commons-dbcp2 and it seems to work well (7 CI builds without any error). Here's my persistence.xml if it can help on the Openjpa side: persistence-unit name=${project.artifactId}Pu transaction-type=JTA