[hibernate-dev] SQM and Query#getReturnTypes
Steve Ebersole
steve at hibernate.org
Tue Feb 9 17:18:53 EST 2016
Bueller... ? ;)
Silence to me == I can do whatever I want... So if you have a need for
this, please speak up
On Tue, Jan 19, 2016 at 12:53 PM Steve Ebersole <steve at hibernate.org> wrote:
> There are a few reasons I want to remove Query#getReturnTypes. At least
> in its current form. Currently it simply returns the Hibernate Type(s)
> that the query will return.
>
> One of the big reasons I want to remove this method is that it is simply
> not expressive enough to handle some not-so-edge-cases like dynamic
> instantiation queries (we'd have no idea about a Type for the
> instantiation).
>
> So the main question is whether to simply remove that method or whether
> some representation of the Query return(s) is valuable. If this
> information is deemed valuable, the idea would be to develop a contract
> that caters to both "normal selections" and dynamic instantiations.
>
More information about the hibernate-dev
mailing list