hibernate configs were changed and added log4j support