hibernate/hibernate-ogm — pull request #300 by DavideD (2014-03-03 14:41:46+00:00)
Title: OGM-346 Queries selecting entire entity shouldn't return a list of arrays

https://hibernate.atlassian.net/browse/OGM-346

When we set the alias in the select clause the `LuceneQueryParsingResult#getProjections()` will return the value `{__HSearch_This}` instead of an empty list and this resulted in the list of arrays as result type instead of the entity type.

This solution is very simple but I'm not sure if it is the right approach, @Sanne, WDYT?