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.

Reply via email to