Hi Amit,
I tried putting the code in the section 7.1.6.6, But I cannot see any foreign key constraints applied. I performed test for checking the referential integrity, But data to the two tables is getting inserted without checking referential integrity.