Project

General

Profile

« Previous | Next » 

Revision 0dd61d7a

Added by Andreas Müller almost 4 years ago

rename deproxy to deproxyIfInitialized

View differences:

eu.etaxonomy.taxeditor.cdmlib/src/main/java/org/hibernate/collection/internal/AbstractPersistentCollection.java
1336 1336
					throw new HibernateException("commonService not initialized (null)");
1337 1337
				}
1338 1338

  
1339
				//Object obj = ProxyUtils.deproxy(cachedCommonService.initializeCollection(this));
1340
				Object obj = ProxyUtils.deproxy(cachedCommonService.initializeCollection(cdmBase.getUuid(), fieldName));
1339
				//Object obj = ProxyUtils.deproxyIfInitialized(cachedCommonService.initializeCollection(this));
1340
				Object obj = ProxyUtils.deproxyIfInitialized(cachedCommonService.initializeCollection(cdmBase.getUuid(), fieldName));
1341 1341
				if(ProxyUtils.isUninitializedProxy(obj)) {
1342 1342
				    throw new HibernateException("Persistent Collection initialized but is still a proxy");
1343 1343
				}

Also available in: Unified diff