I want to stay as close as possible to the current query API
So just override

@Override
public Query setResultTransformer(ResultTransformer transformer) {
        this.resultTransformer = transformer;
        return this;
}

in FullTextQueryImpl from the Query API and use the resultTransformer instance.



On  Oct 25, 2007, at 23:48, John Griffin wrote:

For the ResultTransformer, do you just want the user to pass a class as the sole argument to indicate what they want as a result?



Ex. setResultTransformer(Class clazz) where clazz is Map.class or Object.class



John G.



_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to