On 29 January 2015 at 14:39, Gunnar Morling <gunnar(a)hibernate.org> wrote:
2015-01-29 13:31 GMT+01:00 Sanne Grinovero
> I hadn't noticed that HQL projections would do that.
> It seems useful indeed, but also quite irregular.. I'm not too
> convinced, I guess I'd be happier if we could express the difference
> on the method signature's return type.
> I tend to agree that we should conform to the list() contract, but
> this is unlikely to be an welcome change for existing users.
> If you all agree it's an improvement, I'd schedule such an issue for 6?
Yes, it may come at the surprise of users relying on the current behavior.
Fixing it in HS 6 seems reasonable to me.