
org.hibernate.transform.AliasToEntityMapResultTransformer Maven / Gradle / Ivy
The newest version!
//$Id: AliasToEntityMapResultTransformer.java 9649 2006-03-17 11:25:05Z [email protected] $
package org.hibernate.transform;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* @author Gavin King
*/
public class AliasToEntityMapResultTransformer implements ResultTransformer {
public Object transformTuple(Object[] tuple, String[] aliases) {
Map result = new HashMap(tuple.length);
for ( int i=0; i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy