[hibernate-dev] Enum object bound to SQLQuery
gbadner at redhat.com
Fri Feb 13 00:15:30 EST 2015
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?
More information about the hibernate-dev