change mapping structure & relate to spring framework