1. Introduction To fix DuplicateMappingException requires that a column only maps to a single field. The org.hibernate.DuplicateMappingException is a runtime…