Re: [hibernate-dev] [HSEARCH] Projection into POJO

2016-03-01 Thread Gunnar Morling
Ok, thanks! I'll write a blog post with the answer. 2016-03-01 14:21 GMT+01:00 Emmanuel Bernard : > 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

Re: [hibernate-dev] [HSEARCH] Projection into POJO

2016-03-01 Thread Emmanuel Bernard
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

[hibernate-dev] [HSEARCH] Projection into POJO

2016-02-29 Thread Gunnar Morling
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