This commit is contained in:
Guenther Demetz 2012-05-03 10:52:21 +02:00 committed by Strong Liu
parent 32d36f6ea9
commit 2036d1479f
2 changed files with 5 additions and 0 deletions

View File

@ -490,4 +490,8 @@ public class NaturalIdXrefDelegate {
}
}
}
public void clear() {
naturalIdResolutionCacheMap.clear();
}
}

View File

@ -256,6 +256,7 @@ public class StatefulPersistenceContext implements PersistenceContext {
if ( loadContexts != null ) {
loadContexts.cleanup();
}
naturalIdXrefDelegate.clear();
}
@Override