Skip to content
Browse files

hhh-7112

  • Loading branch information...
1 parent 32d36f6 commit 2036d1479f53731cef3d8d39b318d3d6c12ce505 @pb00068 pb00068 committed with stliu May 3, 2012
View
4 hibernate-core/src/main/java/org/hibernate/engine/internal/NaturalIdXrefDelegate.java
@@ -490,4 +490,8 @@ public void unStashInvalidNaturalIdReferences() {
}
}
}
+
+ public void clear() {
+ naturalIdResolutionCacheMap.clear();
+ }
}
View
1 hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
@@ -256,6 +256,7 @@ public void clear() {
if ( loadContexts != null ) {
loadContexts.cleanup();
}
+ naturalIdXrefDelegate.clear();
}
@Override

0 comments on commit 2036d14

Please sign in to comment.
Something went wrong with that request. Please try again.