File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
hibernate-core/src/main/java/org/hibernate/engine/internal Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
2
* Hibernate, Relational Persistence for Idiomatic Java
3
3
*
4
- * Copyright (c) 2012 , Red Hat Inc. or third-party contributors as
4
+ * Copyright (c) 2013 , Red Hat Inc. or third-party contributors as
5
5
* indicated by the @author tags or express copyright attribution
6
6
* statements applied by the authors. All third-party contributions are
7
7
* distributed under license by Red Hat Inc.
@@ -163,7 +163,7 @@ else if ( nonEnhancedEntityXref == null ) {
163
163
}
164
164
165
165
if ( managedEntity == null ) {
166
- throw new AssertionFailure ( "Unable to resolve entity reference to EntityEntry for removal" ) ;
166
+ return null ;
167
167
}
168
168
169
169
// prepare for re-linking...
You can’t perform that action at this time.
0 commit comments