Copy to ClipboardCopied!Toggle word wrapToggle overflow
create table Person ( personId bigint not null primary key, addressId bigint not null unique )
create table Address ( addressId bigint not null primary key )
create table Person ( personId bigint not null primary key, addressId bigint not null unique )
create table Address ( addressId bigint not null primary key )
Copy to ClipboardCopied!Toggle word wrapToggle overflow
A unidirectional one-to-one association on a primary key usually uses a special id generator In this example, however, we have reversed the direction of the association: