No support for XML/dom4j mapping for idbag collections

Description

Even though the node attribute can be added to a collection mapped as idbag, this only results in an a ClassCastException. It does not generate correct dom4j element node for the collection.

The reason is that the org.hibernate.type.IdentifierBagType.instantiate() does not support dom4j entity mode. Not sure whether the fix would be as simple as returning an instance of PersistentElementHolder for dom4j or whether there is a fundamental reason why this would not work for idbag.

Please let me know if you need more information than this.

Environment

All

Activity

Show:
Brett Meyer
December 16, 2013, 9:41 PM

Out of date – DOM4J entity mode no longer supported

Out of Date

Assignee

Unassigned

Reporter

T

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

Priority

Minor
Configure