@Entity @Table(name = "EMPLOYEE") public class Employee { @ManyToOne(fetch = FetchType.LAZY) private Set<Department> dept = new Department(); }