collection as a @OneToMany, @ManyToMany or @CollectionOfElements: com.test.common.entities.Country.lawyer这是我的代码@Table(name = "lawyer") @Id @Column(name = "lawyer</e
假设我有一个表Person,我还有另外3个Doctor,Policeman,Lawyer....这3个表都有idPerson,它们从其中获取共同的属性,如名字、姓氏等。内连接来播放)FROM Person LEFT JOIN lawyerON lawyer.idPerson = person.idPerson