Re: Can't query against a MappedSuperclass

2009-04-21 Thread Jeremy Bauer
Hi Jim, It looks like there are inconsistencies in the manual and provider. I was able use the em.find() operation with a mapped superclass, but could not run a JPQL query which used one. To perform the find operation, OpenJPA queried known entity subclasses of the mapped superclass until it

Re: Can't query against a MappedSuperclass

2009-04-21 Thread Fay Wang
techhu...@gmail.com Subject: Re: Can't query against a MappedSuperclass To: users@openjpa.apache.org Date: Tuesday, April 21, 2009, 8:52 AM Hi Jim, It looks like there are inconsistencies in the manual and provider.  I was able use the em.find() operation with a mapped superclass, but could

Re: Can't query against a MappedSuperclass

2009-04-21 Thread Jeremy Bauer
wrote: From: Jeremy Bauer techhu...@gmail.com Subject: Re: Can't query against a MappedSuperclass To: users@openjpa.apache.org Date: Tuesday, April 21, 2009, 8:52 AM Hi Jim, It looks like there are inconsistencies in the manual and provider. I was able use the em.find() operation

Re: Can't query against a MappedSuperclass

2009-04-21 Thread Fay Wang
Ya, this apparently is an inconsistency... --- On Tue, 4/21/09, Jeremy Bauer techhu...@gmail.com wrote: From: Jeremy Bauer techhu...@gmail.com Subject: Re: Can't query against a MappedSuperclass To: users@openjpa.apache.org Date: Tuesday, April 21, 2009, 9:53 AM Hi Fay, The JPA 1.0

Re: Can't query against a MappedSuperclass

2009-04-20 Thread Marc Logemann
In the same documentation the following is stated and this was always my definition of querying mappedSC. Section 1.3 A mapped superclass is a non-entity class that can define persistent state and mapping information for entity subclasses. Mapped superclasses are usually abstract. Unlike