Can I use @Embedded in @Embeddable class in hibernate.
Example : A is an element collection in a diffirent class.
@Embeddable
class A {
@Embedded
B b;
}
@Embeddable
class B {
@Embedded
C c;
}
@Embeddable
class C {
@Embedded
D D;
}
@Embeddable
class D {
}
Is something of this kind valid in hibernate ? The third level of nesting.