+1 for 6 > On 29 Jan 2015, at 09:49, Gunnar Morling <gun...@hibernate.org> wrote: > > Hi, > > When doing a full-text query which projects exactly one column, e.g. like > so: > > List<?> list = fullTextSession.createFullTextQuery( query, MyEntity. > class ) > .setProjection( ProjectionConstants.ID ) > .list(); > > Then each list element will be a single-column array, containing the > projection result. > > I'd rather have expected the list to contain the single column values > directly in this case. That's what HQL projection do and seems implied by > the docs of list(). > > Is it done differently in HSEARCH on purpose or should it be considered a > bug? > > Thx, > > --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