Martin Tamme (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5eb68b6...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiOTE5YjQ4NTIw...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-14009?atlOrigin=eyJpIjoiOTE5Yj...
) HHH-14009 (
https://hibernate.atlassian.net/browse/HHH-14009?atlOrigin=eyJpIjoiOTE5Yj...
) LockModeType.OPTIMISTIC_FORCE_INCREMENT causes Hibernate to issue a second update
statement when an entity is already marked as dirty (
https://hibernate.atlassian.net/browse/HHH-14009?atlOrigin=eyJpIjoiOTE5Yj...
)
Issue Type: Bug Affects Versions: 5.4.14 Assignee: Unassigned Attachments:
hibernate-orm-5-test-case.zip Components: hibernate-core Created: 09/May/2020 04:13 AM
Priority: Major Reporter: Martin Tamme (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5eb68b6...
)
LockModeType.OPTIMISTIC_FORCE_INCREMENT causes Hibernate to issue a second update
statement when an entity is already marked as dirty.
Hibernate:
update
JPAEntity
set
name=?,
version=?
where
id=?
and version=?
Hibernate:
update
JPAEntity
set
version=?
where
id=?
and version=?
(
https://hibernate.atlassian.net/browse/HHH-14009#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-14009#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100126- sha1:9bc00fe )