We're updating the issue view to help you get more done. 

When omitting the OTHERWISE clause in a CASE expression built with Criteria API, Hibernate throws a NullPointerException

Description

As mentioned in this forum thread, currently, if we omit an ELSE clause on a CASE expression, a NullPointerException will be thrown without giving more details about the issue.

Environment

None

Status

Assignee

Vlad Mihalcea

Reporter

Vlad Mihalcea

Fix versions

Labels

None

backPortable

Backport?

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

5.4.0

Priority

Minor