Hibernate XML Mapping should not depend on dom4j

Description

Hibernate XML mapping requires dom4j, which is one of the packages that causes the Java version of "dll hell" - applications requiring conflicting versions of jars with no way to resolve the problem in a given release of an application server or package.

HIbernate should be converted to use the standard XML APIs included in the JRE 5.0 specification, when Hibernate no longer needs to support JRE 1.4.x.

Environment

all

Activity

Show:
Emmanuel Bernard
January 26, 2012, 11:16 AM

In short, Hibernate with the new metamodel will no longer use dom4j.
But I have to say I love dom4j regardless of its age

Eugen Paraschiv
January 26, 2012, 11:52 AM

Thanks for the quick response - that is good news. I do have a follow up question - I've been doing some light reading on the metamodel and I'm still not clear on how exactly I should remove the dom4j dependency, since that is a compile scoped dependency of hibernate-core (4.0.1).
Regards,
Eugen.

Emmanuel Bernard
January 26, 2012, 12:31 PM

That will be for 4.1 or 5.0, I forgot.

Eugen Paraschiv
January 26, 2012, 12:33 PM

Right, thanks for the clarification, that makes sense.
Hopefully it will make it into 4.1.
Eugen.

Thibault Kruse
November 21, 2015, 11:12 AM

Any update? Seems hibernate 4.3 and 5.x still depend on dom4j.

Assignee

Unassigned

Reporter

Don Smith

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure