Re: Duplicate Query - where none exists

2007-04-05 Thread Marc Prud'hommeaux
I'll try 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.categor

RE: Duplicate Query - where none exists

2007-04-05 Thread Patrick Linskey
HERE c.type = :type"), > >>> @NamedQuery(name = "CategoryValueObjectFXPK", > query = "SELECT c > >>> FROM Category c WHERE c.id = :primaryKey"), > >>> @NamedQuery(name = "CategoryFXDescription",

Re: Duplicate Query - where none exists

2007-04-05 Thread Marc Prud'hommeaux
ts related to that somehow... Hans Original-Nachricht Datum: Wed, 4 Apr 2007 23:42:01 -0700 Von: Marc Prud\'hommeaux <[EMAIL PROTECTED]> An: open-jpa-dev@incubator.apache.org Betreff: Re: Duplicate Query - where none exists How is the "category.categoryTypeFK

RE: Duplicate Query - where none exists

2007-04-05 Thread Phill Moran
lf 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 in the database? An is there a corresponding "id" column in the table for the CategoryType

Re: Duplicate Query - where none exists

2007-04-05 Thread Marc Prud'hommeaux
-Original Message- From: Marc Prud'hommeaux [mailto:[EMAIL PROTECTED] On Behalf Of Marc Prud'hommeaux Sent: April 4, 2007 11:13 PM 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

Re: Duplicate Query - where none exists

2007-04-05 Thread Hans Prueller
0 Von: Marc Prud\'hommeaux <[EMAIL PROTECTED]> An: open-jpa-dev@incubator.apache.org Betreff: 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

Re: RE: Duplicate Query - where none exists

2007-04-04 Thread Hans Prueller
400 Von: "Phill Moran" <[EMAIL PROTECTED]> An: open-jpa-dev@incubator.apache.org Betreff: RE: Duplicate Query - where none exists > I did a workspace search and it exists in only one place. Also if I > comment out > the one it complains about it complains about the next one

RE: Duplicate Query - where none exists

2007-04-04 Thread Phill Moran
sses -Original Message- From: Marc Prud'hommeaux [mailto:[EMAIL PROTECTED] On Behalf Of Marc Prud'hommeaux Sent: April 4, 2007 11:13 PM To: open-jpa-dev@incubator.apache.org Subject: Re: Duplicate Query - where none exists Phill- While I'm no

Re: Duplicate Query - where none exists

2007-04-04 Thread Marc Prud'hommeaux
@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 that define queries with the same name you get a warning. It would be nice if

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 that

Re: Duplicate Query - where none exists

2007-04-04 Thread Dain Sundstrom
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 that define queries with the same name you get a warning. It would be nice if the warning told you where the duplicate declarations are located.

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 with

RE: Duplicate Query - where none exists

2007-04-03 Thread Patrick Linskey
I haven't seen such a problem -- is it possible to package up the problem in something that we can step through in a debugger / take a closer look at? -Patrick -- Patrick Linskey BEA Systems, Inc. ___ Notice: This email messa