emmanuel wrote:
The next draft will adress the abstract class isue, but not inheritance.
I'm thinking at the interface issue, but it's not simple to declare it through annotations.
In hbm, an interface is <subclass>ed by several classes. But I class has only 1 declared superclass or super interface.
This is different in an annotations approach.
Sorry, it seems we are experiencing a language barrier :( I didn't fully understand what you just said.
I understood: in HBM an interface may be subclassed by multiple classes but may have only one superclass. This is different in an annotation approach. Please correct me if I misunderstood.
Thing is, are you telling me that even without annotations, it is impossible to represent a class that implements multiple interfaces? That is, Hibernate only allows a single "implements" or "extends" statement per class? This would be problematic :(
As well, why is this different in annotations? Do they say we should be supporting this?
Thank you,
Gili