I have an embeddable class ABC extended from another embeddable class XYZ. ABC's object is embedded in an entity. The table corresponding to the entity contains only elements of ABC and not of XYZ. What should I do to get them also?
I have heard that Descriptor Customizer will work. How should I do that? Is there any other way?
You need to set the InheritancePolicy classIndicatorField in your DescriptorCustomizer for XYZ. Then you need to define the aggregate descriptor for ABC that extends XYZ, you may need a SessionCustomizer for that.