CriteriaHQLAlignmentTest.testCountReturnValues fails on databases that don't support tuple distinct counts because it expects wrong exception

Description

sort of follow up on

org.hibernate.test.hql.CriteriaHQLAlignmentTest.testCountReturnValues

Test expects SQLGrammarException but hibernate now throws PersistenceException

Environment

DB2

Assignee

Martin Simka

Reporter

Martin Simka

Fix versions

Labels

backPortable

Backport?

Suitable for new contributors

Yes, likely

Requires Release Note

None

Pull Request

None

backportDecision

None

backportReEvaluate

Components

Affects versions

Priority

Major
Configure