ClassCastException when changing a Collection association to a Set if @PreUpdate listener exists

Description

If a @PreUpdate listener is present, a ClassCastException is raised during flush after an update of an association defined to use collection (bag) semantics when the assigned value is a set.

 

 

 

Environment

None

Status

Assignee

Gail Badner

Reporter

Stephen Fikes

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

5.4.3
5.3.10

Priority

Major
Configure