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.
In short, Hibernate with the new metamodel will no longer use dom4j.
But I have to say I love dom4j regardless of its age
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).
That will be for 4.1 or 5.0, I forgot.
Right, thanks for the clarification, that makes sense.
Hopefully it will make it into 4.1.
Any update? Seems hibernate 4.3 and 5.x still depend on dom4j.