| Re: [eclipselink-users] Embeddables and inheritance |
|
Perhaps incorrectly influenced by it. As far as
EclipseLink is concerned, what you have modeled is creating an inheritance
hierarchy none the less where the spec talks about inheritance solely
with entities. Maybe the @Inheritance is
confusing, but the definition of @DiscriminatorColumn and @DiscriminatorValue
which are used with inheritance hierarchies talks solely of entities as
well. Would you not expect to be able to use these within your model as
well?
So this (plus the MappedSuperclass
definition) likely caused the confusion or interpretation from the spec
that embeddables did not inherit from any parent classes.
Anyway, thanks for entering the bug, hopefully
someone will get to it soon. Like I mentioned earlier however, you can use a
descriptor customizer to enable this functionality in the mean
time.
Cheers,
Guy
|