이 콘텐츠는 선택한 언어로 제공되지 않습니다.
7.3.2. Unidirectional Many-to-one with Join Tables
A unidirectional many-to-one association on a join table is common when the association is optional. For example:
create table Person ( personId bigint not null primary key ) create table PersonAddress ( personId bigint not null primary key, addressId bigint not null ) create table Address ( addressId bigint not null primary key )
create table Person ( personId bigint not null primary key )
create table PersonAddress ( personId bigint not null primary key, addressId bigint not null )
create table Address ( addressId bigint not null primary key )