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

Version is not incremented when a bidirectional one-to-one association changes

Description

I have an entity with a version (optimistic locking) property. This entity has an one-to-one association where the foreign key is stored on the other side of the association (@OneToOne(mappedBy=...)). When this assoication is changed, the version is not incremented at the end of a transaction.

Environment

None

Status

Assignee

Gail Badner

Reporter

Felix Feisst

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

4.3.1
4.2.9

Priority

Major