Hibernate different type pojo mapping
Hello, I have a problem with a mapping for this structure that i designed public abstract class A<T> { private int discriminator_value = -1; private T value; //... } public class One extends A<String> { public One(){ setDiscriminatorValue(1); } //... } public class Two extends A<BigDecimal> { public Two(){ setDiscrimina...