BTW, DiscriminatorOptions comes from package named 'org.hibernate.annotations', it belongs to Hibernate native annotation. However, @DiscriminatorColumn comes from package named 'javax.persistence', it is one of JPA members. It seems to be not proper that, without Hibernate native annotation, @DiscriminatorColumn will not work perfectly ? |