Dependent elements and merge

2012-05-24 Thread Michael Spiro
Hi, I'm using OpenJPA 2.1.0 and make use of the @ElementDependent annotation. Recently I discovered following unexpected behaviour. I have an entity that contains a collection of dependent elements. When I load the entity in the persistence context, make changes on some of its attributes

Re: Dependent elements and merge

2012-05-24 Thread Rick Curtis
Sounds like a bug. Can you come up with a small unit test that recreates the issue? Thanks, Rick On May 24, 2012 3:12 AM, Michael Spiro m.sp...@dcs-caesar.de wrote: Hi, I'm using OpenJPA 2.1.0 and make use of the @ElementDependent annotation. Recently I discovered following unexpected

Re: java.lang.StackOverflowError at SelectImpl.aliasSize

2012-05-24 Thread VRB007
Thank You all the fix works -- View this message in context: http://openjpa.208410.n2.nabble.com/Subquery-problem-java-lang-StackOverflowError-at-SelectImpl-aliasSize-tp7573688p7575043.html Sent from the OpenJPA Users mailing list archive at Nabble.com.

Re: java.lang.StackOverflowError at SelectImpl.aliasSize

2012-05-24 Thread Kevin Sutter
Good to hear! On Thu, May 24, 2012 at 7:59 AM, VRB007 vikram.bo...@yahoo.com wrote: Thank You all the fix works -- View this message in context: http://openjpa.208410.n2.nabble.com/Subquery-problem-java-lang-StackOverflowError-at-SelectImpl-aliasSize-tp7573688p7575043.html Sent from the

Re: Wierd issue.

2012-05-24 Thread Kevin Sutter
Hi Daniel, Since you have several variables in play here, I'd try to narrow in on the culprit. How do you have your datasource defined? Can you remove the tomcat dbcp usage, for example? Or, replace it with the Apache dbcp implementation? I don't see any issues with the code snippet you showed