Hibernate has removed DOM4J entymode in HHH-6330 issue. We have some traces of EntityMode.Xml, but it was never implemented, so we need to do this move as well.
ISession.GetSession is obsolete and replaced by ISession.WithSessionOptions (NH-4003), which yield a session builder. Semantic change: built sessions are not flushed or closed from the originating session.
Hibernate has removed DOM4J entymode in HHH-6330 issue. We have some traces of EntityMode.Xml, but it was never implemented, so we need to do this move as well.