Remove dead code related to DOM4J entitymode
There are quite a few references to DOM4J entity mode in the code, but as far as I can tell this mode has been removed around 2011 ().
Anyone trying to use it should encounter an exception in 5.4 and probably before:
EntityMode.DOM4J has been removed in HHH-6330, so using @Tuplizer(entityMode = "dom4j") (annotation mapping) or <tuplizer class="..." entity-mode="pojo"/> (hbm.xml) will just fail
I don't think there is any other way to use that entity mode?
So let's remove any code mentioning dom4j entity-mode?
Actually this code is not dead. Its (only) purpose is to warn people using deprecated "node" attributes in hbm.xml mapping that these attributes are indeed deprecated and have absolutely no effect.
Not something we can change in 5.5, and even in 6.0 we may need to keep the warnings somehow.
In any case, it's not worth our time at the moment.