Joined: Thu Jun 01, 2006 11:31 am Posts: 9
|
There is no annotation (c.f. AttributeOverride and AssociationOverride) on a sub-class that allows the “one” class referenced by a ManyToOne on a super-class to be overridden.
This makes it impossible to use a ManyToOne in a super-class where the referenced entity is an interface specified via a Java 5 generic. The concrete class is only known to the sub-class.
I have an set of example java files that demonstrate this issue - however as the example consists of more than 10 files, I'm unsure how to post this to the forum (cutting and pasting to the post is not an option - it'd be huge and no one would read it.)
Please advise how I should post this example.
Hibernate Entity Manager: 3.2.0.CR1
hibernate-annotations-3.2.0.CR1
hibernate-3.2.CR2
|
|