@OrderColumn not updated in second level cache

Description

If @OrderColumn is used with @OneToMany (with mappedBy defined) changes of the column of @OrderColumn are not (correctly) reflected in the second level cache.

I've attached a simple maven project, have a look at TheTest.java and NonRecursiveTest.java.

Regards,
Burkhard

(maybe related to HHH-8083, HHH-5732, HHH-5378)

Environment

Hibernate version 5.0.3, 4.3.4, 4.2.10 and earlier, database platform mysql, h2, ...

Assignee

Gail Badner

Reporter

Burkhard Graves

Fix versions

None

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Critical
Configure