Re: Duplicate query

2007-04-19 Thread Hans J. Prueller
Jacek, thank you for diving into this. I added the following node to my persistence.xml right after the classes - List: exclude-unlisted-classes true/exclude-unlisted-classes It seems that the duplicate query warning stays - did I add it the wrong way? hans Am Mittwoch, den 18.04.2007, 00:16

Re: Duplicate query

2007-04-19 Thread Jay D. McHugh
into this. I added the following node to my persistence.xml right after the classes - List: exclude-unlisted-classes true/exclude-unlisted-classes It seems that the duplicate query warning stays - did I add it the wrong way? hans Am Mittwoch, den 18.04.2007, 00:16 +0200 schrieb Jacek

Re: Duplicate query

2007-04-19 Thread Hans J. Prueller
Am Donnerstag, den 19.04.2007, 12:14 -0500 schrieb Jay D. McHugh: You could try that and see if it makes a difference (hopefully it will) Unfortunately NOT. Can anybody else with that duplicate-query problem try it? Hans signature.asc Description: Dies ist ein digital signierter

Re: Duplicate query

2007-04-19 Thread Jacek Laskowski
On 4/19/07, Jacek Laskowski [EMAIL PROTECTED] wrote: I assume you're working with Java SE environment, aren't you? I'm asking as the exclude-unlisted-classes is only intended for javase env not javaee. Wrong, wrong, wrong! Sorry for messing simple things up. I meant that

Re: Duplicate query

2007-04-19 Thread Hans J. Prueller
Jacek, don't bother that you messed something up. At least from the XML-Schema definition I was able to derive the right things I think: Am Donnerstag, den 19.04.2007, 20:36 +0200 schrieb Jacek Laskowski: Not applicable to Java SE persistence units. So in that case this won't change

Re: Duplicate query

2007-04-19 Thread Jacek Laskowski
On 4/19/07, Hans J. Prueller [EMAIL PROTECTED] wrote: So in that case this won't change anything for us - Not applicable to Java SE PUs. We ARE using OpenJPA in a Java SE persistence unit (at least from the view of JPA our J2EE1.4 container will be only SE). So did I understand you wrong? I

RE: Duplicate query

2007-04-19 Thread Phill Moran
@incubator.apache.org Subject: Re: Duplicate query On 4/19/07, Hans J. Prueller [EMAIL PROTECTED] wrote: So in that case this won't change anything for us - Not applicable to Java SE PUs. We ARE using OpenJPA in a Java SE persistence unit (at least from the view of JPA our J2EE1.4 container will be only

Re: Duplicate query

2007-04-17 Thread Jacek Laskowski
persistence-capable class class com.lbslogics.ims.model.PositionLog. ... 3134 lbsims TRACE [RMI TCP Connection(7)-127.0.1.1] openjpa.MetaData - Parsing query PositionLog.byId. 3135 lbsims WARN [RMI TCP Connection(7)-127.0.1.1] openjpa.MetaData - Found duplicate query PositionLog.byId in class

RE: Duplicate query

2007-04-17 Thread Phill Moran
@incubator.apache.org Subject: Re: Duplicate query On 4/17/07, Hans J. Prueller [EMAIL PROTECTED] wrote: it took some time but finally I can send to the TRACE. As it is rather long I'll paste it below. Additional information: Thanks for the information. It's helped me a lot to narrow down the issue. I think

Re: Duplicate query

2007-04-16 Thread Marc Prud'hommeaux
Phill- Was there a JIRA issue created for this? I didn't see one. I do recall not being able to reproduce it when you mentioned it, so I didn't proceed with entering one... On Apr 16, 2007, at 12:11 PM, Phill Moran wrote: I am still getting a duplicate query where no duplicate exists

Re: Duplicate query

2007-04-16 Thread Jacek Laskowski
duplicate query PositionLog.byId in class com.lbslogics.ims.model.PositionLog. Ignoring. Could you show the PositionLog entity and the corresponding persistence.xml file with other referenced files (like orm.xml and other mapping files if such exist)? Jacek -- Jacek Laskowski http

Re: Duplicate Query - where none exists

2007-04-05 Thread Hans Prueller
perhaps this can help out: I just started using OpenJPA and I have ONLY A SINGLE CLASS WITHOUT ANY RELATIONS where I get this duplicate-query warning. So I can't believe that its related to that somehow... Hans Original-Nachricht Datum: Wed, 4 Apr 2007 23:42:01 -0700 Von

RE: Duplicate Query - where none exists

2007-04-05 Thread Phill Moran
Prud'hommeaux Sent: April 5, 2007 2:42 AM To: open-jpa-dev@incubator.apache.org Subject: Re: Duplicate Query - where none exists How is the category.categoryTypeFK column defined in the database? An is there a corresponding id column in the table for the CategoryType class? Also, when there is just

Re: Duplicate Query - where none exists

2007-04-05 Thread Marc Prud'hommeaux
the duplicate query warning. But when I remove one of the queries, I get no warning. So it appears to be working as expected. Can you show us your class that is giving the warning, as well as the logging output with verbose logging enabled (i.e., setting openjpa.Log to DefaultLevel=TRACE)? On Apr 5

Re: Duplicate Query - where none exists

2007-04-05 Thread Marc Prud'hommeaux
again -Original Message- From: Marc Prud'hommeaux [mailto:[EMAIL PROTECTED] On Behalf Of Marc Prud'hommeaux Sent: April 5, 2007 2:42 AM To: open-jpa-dev@incubator.apache.org Subject: Re: Duplicate Query - where none exists How is the category.categoryTypeFK column defined

RE: Duplicate Query - where none exists

2007-04-04 Thread Phill Moran
I am using 0.9.6. I will see how to package this up so you can step through _ From: Hans J. Prueller [mailto:[EMAIL PROTECTED] Sent: April 4, 2007 10:28 AM To: open-jpa-dev@incubator.apache.org Subject: RE: Duplicate Query - where none exists I also encountered a similar problem

Re: Duplicate Query - where none exists

2007-04-04 Thread Dain Sundstrom
. -dain On Apr 3, 2007, at 10:07 PM, Phill Moran wrote: Anyone seen this before WARN [main] openjpa.MetaData - Found duplicate query StoreFXPK in class .. Ignoring. This class has only three such named queries all different names and different actual queries. See following

RE: Duplicate Query - where none exists

2007-04-04 Thread Phill Moran
Sundstrom [mailto:[EMAIL PROTECTED] Sent: April 4, 2007 5:06 PM To: open-jpa-dev@incubator.apache.org Subject: Re: Duplicate Query - where none exists I think I saw this once. The problem is in JPA named queries are all contained in a single global namespace, so if you have to persistent beans

Re: Duplicate Query - where none exists

2007-04-04 Thread Marc Prud'hommeaux
Phill- While I'm not sure the cause of the duplicate query error, I do notice the original cause in the nested stack trace is: Caused by: 4|true|0.0.0 org.apache.openjpa.persistence.ArgumentException: You cannot join on column category.categoryTypeFK. It is not managed by a mapping

RE: Duplicate Query - where none exists

2007-04-04 Thread Phill Moran
To: open-jpa-dev@incubator.apache.org Subject: Re: Duplicate Query - where none exists Phill- While I'm not sure the cause of the duplicate query error, I do notice the original cause in the nested stack trace is: Caused by: 4|true|0.0.0 org.apache.openjpa.persistence.ArgumentException: You

Duplicate Query - where none exists

2007-04-03 Thread Phill Moran
Anyone seen this before WARN [main] openjpa.MetaData - Found duplicate query StoreFXPK in class .. Ignoring. This class has only three such named queries all different names and different actual queries. See following @NamedQueries( { @NamedQuery(name = StoreFXPK, query