HHH-7912 - Define edge-case behavior for Session.evict

(cherry picked from commit 0ffe6e7115)
This commit is contained in:
Steve Ebersole 2013-01-08 21:38:18 -06:00
parent 8c96a4a2c6
commit c94870d9fd
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* Copyright (c) 2012, Red Hat Inc. or third-party contributors as
* Copyright (c) 2013, Red Hat Inc. or third-party contributors as
* indicated by the @author tags or express copyright attribution
* statements applied by the authors. All third-party contributions are
* distributed under license by Red Hat Inc.
@ -163,7 +163,7 @@ public class EntityEntryContext {
}
if ( managedEntity == null ) {
throw new AssertionFailure( "Unable to resolve entity reference to EntityEntry for removal" );
return null;
}
// prepare for re-linking...