manual:
Unlike true entities, you cannot query a mapped superclass
http://openjpa.apache.org/builds/latest/docs/manual/manual.html#jpa_overview_meta_embeddablesuper
--- On Mon, 4/20/09, jim weaver jewea...@us.ibm.com wrote:
From: jim weaver jewea...@us.ibm.com
Subject: Can't query against
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
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
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
I have the following:
@MappedSuperclass class A { }
@Entity class B extends A { }
@Entity class C extends A { }
and I try to do this type of query: SELECT a FROM A a
I receive error message An error occurred while parsing the query filter
SELECT a FROM A a. Error message: The name A is not
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