Extended the database configuration XML with Hibernate packages.
Introduced a bean holding the package names with the Hibernate entity classes
in order to inject them into some Java classes.