Hibernate ORM NativeSQLQueryJoinReturn - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Hibernate ORM NativeSQLQueryJoinReturn class.

This code example shows how to use the following methods:
		String roleProperty = roleAttribute.substring( dot + 1 ); 
 
		//FIXME: get the PersistentClass 
		java.util.Map propertyResults = bindPropertyResults(alias, returnElem, null, mappings ); 
 
		return new NativeSQLQueryJoinReturn( 
				alias, 
				roleOwnerAlias, 
				roleProperty, 
				propertyResults, // TODO: bindpropertyresults(alias, returnElem) 
				lockMode 
			); 
	} 
 
	private static NativeSQLQueryCollectionReturn bindLoadCollection(Element returnElem, Mappings mappings) { 
		String alias = returnElem.attributeValue( "alias" ); 
		String collectionAttribute = returnElem.attributeValue( "role" ); 
		LockMode lockMode = getLockMode( returnElem.attributeValue( "lock-mode" ) ); 
		int dot = collectionAttribute.lastIndexOf( '.' ); 
		if ( dot == -1 ) { 
Full Snippet Info
4
CodeRank
Contextual code suggestions in your IDE  Get Codota for Java