Proper mapping generation in Hibernate configuration