Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] Table name from inheritance hierarchy.


How can I access the table name from the org.eclipse.persistence.descriptors.ClassDescriptor in a org.eclipse.persistence.config.DescriptorCustomizer?

My hierarchy looks like this:

@Inheritance(strategy = InheritanceType.SINGLE_TABLE)
public abstract class Function extends AbstractEntity {

public class AgriculturalBuilding extends Function {

And it's the in AgriculturalBuilding descriptor that I want to find the BUILDINGFUNCTION table name defined by the parent.

Everything I look at seems to be null at this point... when @Customizer for AgriculturalBuilding is called that is.

 /Magnus Heino

Back to the top