我想给我的连接列的列名和反列名。但是我不确定在 PrimaryKeyJoinColumn 的情况下我该怎么做。请帮忙。
以下是 PrimaryKeyJoinColumn 的语句
@PrimaryKeyJoinColumn(name = "pmr_provider_number", referencedColumnName = "pt_provider_number"),
@PrimaryKeyJoinColumn(name = "pmr_owner_access_key",referencedColumnName = "pt_owner_access_key"),
@PrimaryKeyJoinColumn(name = "pmr_owner_number", referencedColumnName = "pt_owner_number"),
@PrimaryKeyJoinColumn(name = "pmr_location_number", referencedColumnName = "pt_location_number")})
以下是我的专栏名称
加入列名:
providermasterrecord_pmr_provider_number,
providermasterrecord_pmr_owner_access_key,
providermasterrecord_pmr_owner_number,
providermasterrecord_pmr_location_number_2038
反列名称:
listprovidertype_pt_providernumber,
listprovidertype_pt_owneraccesskey2464,
listprovidertype_pt_ownernumber2002,
listprovidertype_pt_servicelocationnumber2038
providermasterrecord 和 listprovidertype 是对象的名称。我想给列起更好的名字。
由于涉及 4 个课程,我没有提供课程详细信息。