Hi,
I have an requirement to select only essential properties, hence I build my query dynamically and the result is of type List<Object[]>
I need to transform Object[] to type, say Student (which can have a property of associated class to be selected, eg: Department name)
I created a custom ResultTransformer by implementing ResultTransformer and overrode the methods transformList and transformTuple. The problem I am getting is, result is not getting transformed, meaning none of the methods are getting executed though I have set my custom result transformer in the query.
I would like to get some help or directions, what would have gone wrong.
Thanks, Senthilkumar Arumugam
|