Established well-defined registration order for Hibernate package scanning

Issue: SPR-7742