@MappedSuperclass
public abstract class AbstractBaseModel{ }
@MappedSuperclass
public class Person extends AbstractBaseModel {}
@Entity
public class APerson extends Person {}
@Entity
public class B
@MappedSuperclass
public abstract class AbstractBaseModel{ }
@MappedSuperclass
public class Person extends AbstractBaseModel {}
@Entity
public class APerson extends Person {}
@Entity
public class B