LockModeType.OPTIMISTIC_FORCE_INCREMENT causes Hibernate to issue a second update statement when an entity is already marked as dirty

Description

LockModeType.OPTIMISTIC_FORCE_INCREMENT causes Hibernate to issue a second update statement when an entity is already marked as dirty.

Environment

None

Assignee

Unassigned

Reporter

Martin T.

Fix versions

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Critical
Configure