Code example for CollectionType

Methods: getRolehasHolder

0
			return null; 
		} 
 
		if (collection!=null) { 
			final PersistentCollection coll;
			if ( type.hasHolder() ) {
				coll = getSession().getPersistenceContext().getCollectionHolder(collection);
			} 
			else { 
				coll = (PersistentCollection) collection;
			} 
 
			Collections.processReachableCollection( coll, type, owner, getSession() );
		} 
 
		return null; 
 
	} 
 
	FlushVisitor(EventSource session, Object owner) {
		super(session);
		this.owner = owner;
	} 
 
} 
Experience pair programming with AI  Get Codota for Java