[hibernate-dev] [HSEARCH] Full-text query returning projection of one element
gunnar at hibernate.org
Thu Jan 29 03:49:48 EST 2015
When doing a full-text query which projects exactly one column, e.g. like
List<?> list = fullTextSession.createFullTextQuery( query, MyEntity.
.setProjection( ProjectionConstants.ID )
Then each list element will be a single-column array, containing the
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
More information about the hibernate-dev