|
As I generate the entity classes from hbm files, I use base classes with @MappedSuperclass:
@MappedSuperclass
public class MyEntityBase {
....
}
@Entity
public class MyEntity extends MyEntityBase {
....
}
In an entityGraph, I can use basic attributes defined in the base class without problems. Adding any collection as subgraph throws a MappingException:
See the attached test case for details, too
|