Skip "case when" tests requiring casts for DB2

Description

Following tests fails with DB2 because hibernate generates wrong query. It's missing casting of parameters in case expression part of query

org.hibernate.jpa.test.criteria.selectcase.SelectCaseTest.selectCaseWithCastedTypeValuesShouldWork
org.hibernate.jpa.test.criteria.selectcase.SelectCaseTest.selectCaseWithValuesShouldWork
org.hibernate.jpa.test.criteria.selectcase.SelectCaseTest.simpleSelectCaseWithCastedTypeValuesShouldWork
org.hibernate.jpa.test.criteria.selectcase.SelectCaseTest.simpleSelectCaseWithValuesShouldWork
org.hibernate.jpa.test.criteria.selectcase.GroupBySelectCaseTest.selectCaseInOrderByAndSelectExpression
org.hibernate.query.criteria.internal.expression.SearchedCaseExpressionTest.testEqualClause

Example from: SelectCaseTest.selectCaseWithValuesShouldWork
generated query is:

but it probably should be

Attached full output from SelectCaseTest.selectCaseWithValuesShouldWork

Environment

DB2

Status

Assignee

Guillaume Smet

Reporter

Martin Šimka

Fix versions

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

backportReEvaluate

Components

Affects versions

Priority

Major
Configure