@Id
@ManyToOne
@JoinColumn(name = "team_id", referencedColumnName = "teamId")
private Team allTeam;
@Id
@ManyToOne
@JoinColumns({
@JoinColumn(name = "identifier_AllTeam" ,referencedColumnName ="identifier" ),
@JoinColumn(name = "connectionType_AllTeam" ,referencedColumnName ="connectionType")
} )
private Member member;
答案 0 :(得分:0)