Qi4j

Repeated uow.apply() with loaded entities will cause concurrency check exception

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0
  • Fix Version/s: 1.1
  • Component/s: None
  • Labels:
    None

Description

If an entity is loaded in a UoW, and the UoW is then applied, the version nr is updated on the entity even though it has not been updated on disk. When the UoW then tries to either apply or complete again, there will be a concurrency error.

Activity

Hide
Rickard Öberg added a comment -

Version is now not updated if the entity has been loaded only

Show
Rickard Öberg added a comment - Version is now not updated if the entity has been loaded only

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: