[hibernate-dev] Enum object bound to SQLQuery
sanne at hibernate.org
Sat Feb 14 11:05:29 EST 2015
As a personal uninformed opinion, I would expect that when setting
parameters to a Native Query there would be no transformations.
I'm wondering if there is a (significant) population of users who
expect the opposite?
(BTW I didn't find the attachment, I think this list drops them..
better to attach them to a JIRA, so you can also use that to document
On 13 February 2015 at 05:15, Gail Badner <gbadner at redhat.com> wrote:
> Should enum objects be converted to the appropriate type when bound to a native query?
> It looks like they are converted properly when bound using a Criteria or HQL Query, but not for a SQLQuery.
> Attached is a patch for EnumTypeTest that shows that it works for Criteria and HQL queries, and fails for SQLQuery.
> Is this a bug?
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
More information about the hibernate-dev