Oliverio created Bug HHH-7645
Issue Type: Bug Bug
Affects Versions: 4.1.7
Assignee: Unassigned
Attachments: EnumTest.7z, stackTrace
Created: 26/Sep/12 4:36 PM
Description:

Enum property defined within orm.xml using the enum-type string does not work because hibernate appears to call org.hsqldb.jdbc.JDBCResultSet.getInt() although the column is defined as VARCHAR and declared as enum type STRING within the orm.xml.

It does work when defined with annotations.

Please see attached test case.

Environment: hibernate, entity manager, HyperSQL database
Project: Hibernate ORM
Labels: hibernate
Priority: Major Major
Reporter: Oliverio
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira