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

Description

org.hibernate.test.cid.CompositeIdTest.testDistinctCountOfEntityWithCompositeId

Test expects SQLGrammarException but hibernate now throws PersistenceException

Environment

db2

Status

Assignee

Martin Šimka

Reporter

Martin Šimka

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