I have the same problem and my enum field annotated with Enumerated annotation, not configured by xml, but I have more complicate mapping.
My case fully explained here.
I have tested it on PostgreSQL and H2 and had errors with the same sematnic converting String to int.
There is maven project with one test in attachment, just build - it will be test failure.
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
Hi,
I have the same problem and my enum field annotated with Enumerated annotation, not configured by xml, but I have more complicate mapping.
My case fully explained here.
I have tested it on PostgreSQL and H2 and had errors with the same sematnic converting String to int.
There is maven project with one test in attachment, just build - it will be test failure.