Using an unmapped discriminator value in HQL

You can create JIRA ticket for this, but I seriously doubt that this was ever considered supported and just worked by chance. You should rather spell out the entity name for the thing that has the discriminator XYZ i.e. s.class != com.mycompany.MyEntityXyz.

1 Like