read hibernate config from classpath