HHH-9201 - Evict cache instead of remove after transaction completion

This commit is contained in:
Lukasz Antoniak 2014-05-19 09:13:04 +02:00 committed by Brett Meyer
parent f4fe4108a9
commit 478e2e26eb
1 changed files with 1 additions and 1 deletions

View File

@ -1739,7 +1739,7 @@ public class StatefulPersistenceContext implements PersistenceContext {
}
}
else {
naturalIdCacheAccessStrategy.remove( naturalIdCacheKey );
naturalIdCacheAccessStrategy.evict( naturalIdCacheKey );
}
}
}