Code example for NativeSQLQueryCollectionReturn

0
		String ownerPropertyName = collectionAttribute.substring( dot + 1 ); 
 
		//FIXME: get the PersistentClass 
		java.util.Map propertyResults = bindPropertyResults(alias, returnElem, null, mappings ); 
 
		return new NativeSQLQueryCollectionReturn( 
				alias, 
				ownerClassName, 
				ownerPropertyName, 
				propertyResults, 
				lockMode 
			); 
	} 
 
	private static java.util.Map bindPropertyResults( 
			String alias, Element returnElement, PersistentClass pc, Mappings mappings 
	) { 
 
		HashMap propertyresults = new HashMap(); // maybe a concrete SQLpropertyresult type, but Map is exactly what is required at the moment 
 
Stop searching for code, let great code find you!  Add Codota to your java IDE