Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error while inserting data

 
Srinivasa Kadiyala
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Error occured while saving attributes. java.lang.Exception: exception in insertObject: java.sql.SQLException: ORA-20001: ORA-02291: integrity constraint (xyz.xyz_FK06) violated - parent key not found
ORA-06512: at "abc.F_INSERT_MYTABLE", line 65

Can any one help me?

Thanks in advance
 
Makarand Parab
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I can only say one thing, it all with the data ur passing in the insert statement. You have a table in the database whose one of the primary key column is mapped with primary key column of another table which is master table and ur not entering the proper data in the former. Please talk to your dba and solve ur problem. Print the values ur passing to the insert statement in the log and tell your dba to run a insert statement w.r.t those values. He will surely let you know what the problem is.

Regards
Makarand Parab
 
Srinivasa Kadiyala
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot Makarands...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic