openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tbee <>
Subject RE: Open JPA error-Could not locate metadata for the class using alias
Date Tue, 24 Apr 2007 17:26:16 GMT

Patrick Linskey wrote:
> Note that in OpenJPA, you could fully specify all your relations as
> relations between the abstrat entity classes or mapped superclasses (so
> AbstractPerson would have a reference to AbstractAddress, etc.) and then
> narrow the types of the relations in the subclasses. This would allow
> you to create something where your reverse-engineered classes fully
> compiled on their own, and also would result in an efficient schema with
> direct relations between the concrete subtypes.

Interesting. A query would then still return the "actual" (extending) class
containing the business logic?

How would one declare the narrowing?

View this message in context:
Sent from the open-jpa-dev mailing list archive at

View raw message