Best code examples for Hibernate ORM NativeSQLQueryJoinReturn class (org.hibernate.engine.query.spi.sql.NativeSQLQueryJoinReturn)

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Hibernate ORM NativeSQLQueryJoinReturn class.
You can now enable Codota on your own code to easily search and navigate your Java codebase.

Hibernate ORM NativeSQLQueryJoinReturn examples from Open Source projects
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