I confirmed that this test was still working with Hibernate 4. 1 2 . 4 8 .Final. The difference I found is that JoinedSubclassEntityPersister had a hardcoded DiscriminatorType of Integer.
Since hibernate 4.2.9.Final it seems to be taken from the annotation, which leads to the error reported above.
|