openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tbee <t...@tbee.org>
Subject Re: Open JPA error-Could not locate metadata for the class using alias
Date Sat, 21 Apr 2007 04:58:56 GMT



Marina Vatkina wrote:
> 
> I didn't suggest to remove the existing @Entity annotation - what I
> suggested 
> was to change the @MappedSuperclass to be an @Entity, *and* make it
> *abstract*.
> The latter will mean that you'll never get its instances back.
> 

Ok, do you mean:

 @Entity
 class Article extends Article2
 
 @Entity
abstract class Article2
   @ManyToOne
   private Manufacturer; // note: not Manufacturer2!!


Well, I'll give it a spin on, ah, tuesday. If it works and is better
supported by frameworks, I'm all excited.


-- 
View this message in context: http://www.nabble.com/Open-JPA-error-Could-not-locate-metadata-for-the-class-using-alias-tf3561516.html#a10113798
Sent from the open-jpa-dev mailing list archive at Nabble.com.


Mime
View raw message