
org.hibernate.transform.AliasToEntityMapResultTransformer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate Show documentation
Show all versions of hibernate Show documentation
Relational Persistence for Java
//$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