updated the hibernate mapping and entity for Location table