I confirmed that this test was still working with Hibernate 4.1.4.Final. The difference I found is that JoinedSubclassEntityPersister had a hardcoded DiscriminatorType of Integer. In hibernate 4.2.10.Final it seems to be taken from the annotation.