
org.hibernate.transform.RootEntityResultTransformer Maven / Gradle / Ivy
The newest version!
//$Id: RootEntityResultTransformer.java 3890 2004-06-03 16:31:32Z steveebersole $
package org.hibernate.transform;
import java.util.List;
/**
* @author Gavin King
*/
public class RootEntityResultTransformer implements ResultTransformer {
public Object transformTuple(Object[] tuple, String[] aliases) {
return tuple[ tuple.length-1 ];
}
public List transformList(List collection) {
return collection;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy