Yes that's the official way. There is a POJO resulttransformer of sort in ORM's codebase AFAIR.
On Mon 2016-02-29 19:06, Gunnar Morling wrote: > Hi, > > I got an interesting question during my talk today which I couldn't > answer right away: Is it possible to select a projection resulting > from a full-text query into a POJO/DTO? > > After checking on the API of FullTextQuery again, I now realize that a > ResultTransformer could be used to instantiate POJOs based on result > rows. > > Is this as good as it gets or is there any other, better way? > > Thanks, > > --Gunnar > _______________________________________________ > 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