Hibernate ORM AliasToBeanResultTransformer - 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 AliasToBeanResultTransformer class.

This code example shows how to use the following methods: transformTuple
		// so they have not been initialized for the following test 
		// (it *should* be initialized before creating a QueryKey) 
		doResultTransformerTest( new AliasToBeanResultTransformer( AClass.class ), false );
		// initialize settings for the next test 
		AliasToBeanResultTransformer transformer = new AliasToBeanResultTransformer( AClass.class );
				new Object[] { "abc", "def" }, 
				new String[] { "propAccessedByField", "propAccessedByMethod" }
		doResultTransformerTest( transformer, false );
		doResultTransformerTest( AliasToEntityMapResultTransformer.INSTANCE, true );
		doResultTransformerTest( DistinctResultTransformer.INSTANCE, true );
		doResultTransformerTest( DistinctRootEntityResultTransformer.INSTANCE, true );
		doResultTransformerTest( PassThroughResultTransformer.INSTANCE, true );
		doResultTransformerTest( RootEntityResultTransformer.INSTANCE, true );
		doResultTransformerTest( ToListResultTransformer.INSTANCE, true );
Full Snippet Info
Contextual code suggestions in your IDE  Get Codota for Java
See Code Examples for Hibernate ORM AliasToBeanResultTransformer Methods: