Uses now HibernateEntities class (instead of duplicating code).
Order fixed.
Starting of ordered xml dump.