diff --git a/documentation/src/main/asciidoc/userguide/chapters/domain/extras/associations/associations-one-to-many-bidirectional-lifecycle-example.sql b/documentation/src/main/asciidoc/userguide/chapters/domain/extras/associations/associations-one-to-many-bidirectional-lifecycle-example.sql index c1bbfdbd12..6be8a54290 100644 --- a/documentation/src/main/asciidoc/userguide/chapters/domain/extras/associations/associations-one-to-many-bidirectional-lifecycle-example.sql +++ b/documentation/src/main/asciidoc/userguide/chapters/domain/extras/associations/associations-one-to-many-bidirectional-lifecycle-example.sql @@ -1,10 +1,14 @@ -INSERT INTO Phone - ( number, person_id, id ) -VALUES ( '123-456-7890', NULL, 2 ) +INSERT INTO Person + ( id ) +VALUES ( 1 ) INSERT INTO Phone - ( number, person_id, id ) -VALUES ( '321-654-0987', NULL, 3 ) + ( "number", person_id, id ) +VALUES ( '123-456-7890', 1, 2 ) + +INSERT INTO Phone + ( "number", person_id, id ) +VALUES ( '321-654-0987', 1, 3 ) DELETE FROM Phone WHERE id = 2 \ No newline at end of file