> How can you define relationships in the mapped superclass that are *specified* > in terms of the entities?
Quite simple: @Entity class Article extends Article2 @MappedSuperclass class Article2 @ManyToOne private Manufacturer; // note: not Manufacturer2!! > You can always change the annotation from @MappedSuperclass to an @Entity > and > make the class abstract. I do not believe that will work. Aim of the game is that the class returned by queries, etc, must be the class containing all the business logic. So AFAIK that must be the @Entity. That class must extended a class that contains the reversed engineered mappings. > They might, but that would be beyond the spec and as such not a portable > solution. If this is beyond the spec: what is @MappedSuperclass intended for? -- View this message in context: http://www.nabble.com/Open-JPA-error-Could-not-locate-metadata-for-the-class-using-alias-tf3561516.html#a10110227 Sent from the open-jpa-dev mailing list archive at Nabble.com.