| when making a criteria based on a property of type class the query succeeds if this class is not mapped, the query building fails when this class is mapped within hibernate and has no discriminator For full description see ticket: https://hibernate.atlassian.net/browse/HHH-2828 |