Changed annotation config by XML config for Hibernate and Spring