HHH-9201 - Evict cache instead of remove after transaction completion
This commit is contained in:
parent
f4fe4108a9
commit
478e2e26eb
|
@ -1739,7 +1739,7 @@ public class StatefulPersistenceContext implements PersistenceContext {
|
|||
}
|
||||
}
|
||||
else {
|
||||
naturalIdCacheAccessStrategy.remove( naturalIdCacheKey );
|
||||
naturalIdCacheAccessStrategy.evict( naturalIdCacheKey );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue