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 Since hibernate 4.2. 10 9 .Final it seems to be taken from the annotation , which leads to the error reported above .
|