ClassCastException when rendering SimpleCaseExpression

Description

When creating a SimpleCase using CriteriaBuilder.selectCase(Expression<?> arg0), a classcast exception will be thrown when the query is rendered to a TypedQuery.

See attachement for a reproduction project.

Environment

SQL Server 2005

Status

Assignee

Steve Ebersole

Reporter

Anne Buit

Fix versions

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Minor
Configure