Disable classpath scanner of Hibernate