HibernateProvider was refactored