Thanks for the reply

i ran the query and got my Parent table and Child Table with the PK_Constraint.
pls guide me what should be doin next.i compared the hbm files of both the table and the mapping is correct.i cannot log in as the schema owner due to acess issues.am not able to understand why this problem is coming in one particular scenario and not all insert scenario.