The problem seems to be that Hibernate tries to load the discriminator column from the given entity class's table (i.e. SpecialParent) instead of the table of the entity where the discriminator is defined (i.e. Parent).
This was my conclusion, too.
Due to the fact that this was for us no more than a minor specification violation and not a critical bug, I did not press the matter any further.
|