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?

Thanks,
Gail
_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to