add log4j properties file to hibernate project. fix config for jpa