HHH-12388 - User Guide and Javadoc typo fixes
Fix SQL for bidirectional OneToMany The documented SQL didn't match what the test actually produces.
This commit is contained in:
parent
9b7d61a729
commit
98e78bad06
|
@ -1,10 +1,14 @@
|
||||||
INSERT INTO Phone
|
INSERT INTO Person
|
||||||
( number, person_id, id )
|
( id )
|
||||||
VALUES ( '123-456-7890', NULL, 2 )
|
VALUES ( 1 )
|
||||||
|
|
||||||
INSERT INTO Phone
|
INSERT INTO Phone
|
||||||
( number, person_id, id )
|
( "number", person_id, id )
|
||||||
VALUES ( '321-654-0987', NULL, 3 )
|
VALUES ( '123-456-7890', 1, 2 )
|
||||||
|
|
||||||
|
INSERT INTO Phone
|
||||||
|
( "number", person_id, id )
|
||||||
|
VALUES ( '321-654-0987', 1, 3 )
|
||||||
|
|
||||||
DELETE FROM Phone
|
DELETE FROM Phone
|
||||||
WHERE id = 2
|
WHERE id = 2
|
Loading…
Reference in New Issue