Hello, Guy; thanks; I'll file a bug.
I admit to being somewhat confused by your response however, which addresses
@Inheritance and
@MappedSuperclass while I was discussing
@Embeddables. Are you saying that perhaps someone read the wrong part of the specification, or was incorrectly influenced by it, and
that's the reason that one
@Embeddable doesn't seem to be able to inherit from another? I ask, because I'm not using the
@Inheritance or
@MappedSuperclass annotations at all; rather, I have:
@Embeddable
public class EmbeddableParent implements Serializable {
//...
}
@Embeddable
public class EmbeddableChild extends EmbeddableParent {
//...
}
@Entity // etc.
public class SomeEntity implements Serializable {
@Embedded
private EmbeddableParent foo;
}
@Entity // etc.
public class SomeOtherEntity implements Serializable {
@Embedded
private EmbeddableChild bar;
}
...and that causes EclipseLink to fail.
Best,
Laird