There are typically two reasons why the oldState array would be null:
- Your entity is new (never persisted)
- Your entity has been detached from the session and the update occurs outside it being managed.
If you could provide a minimal test case that replicates the problem I'll be happy to take a look. |