ElementCollection ignore converter for XML mapping

Description

If I assign a converter to an elementcollection in XML it fails with an error. But if I do the same but with annotations instead it work fine.

Unfortunately I can't use annotations in this case and I can't find a work around.

Environment

Windows

Activity

Show:
Flemming Harms
March 7, 2018, 7:23 AM

I might confused my self because we had to change our mapping to use the explicit converter for the "element-collection" instead of using auto converter to overcome the change described in which was working in 5.0.12

Gail Badner
March 7, 2018, 11:49 PM

, just to clarify. Are you saying that was working in 5.0.12?

Flemming Harms
March 8, 2018, 6:48 AM

yes is not a problem for us on 5.0.12, but after upgrading it fails with the error message describe in the jira, and that's the reason why we changed our converters and add them explicit to the "element-collection" instead.

Lars Storm
March 15, 2018, 8:42 AM
Edited

Could someone have a look at this issue or the attached PR, please?

https://github.com/hibernate/hibernate-orm/pull/2175

Vlad Mihalcea
March 16, 2018, 4:25 PM

Applied PR upstream after doing some modifications to it.

Assignee

Unassigned

Reporter

Flemming Harms

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure