Hibernate is getting confused between primary key and foreign keys, giving mapping exception I have following mappings