G
gandhi.pathik
Hi, everyone..
Right now i am doing one application in which i am calling one method
which is synchronized.
( method signature is like public void synchronize(){}
in that method body i am calling two stored procedures
in First Strored procedure i am inserting data into database ,,--table1
in Second Strored procedure also i am inserting data into database
,--table2,
table1 has primary key called auctionid
where as auctionid is the foreing key of table2
when i am calling this method this method says that foreing key
conflicts..
i don't know why this is happening..
my database is MsSql
please give me solution
Thanks and Regards,
pathik gandhi
Right now i am doing one application in which i am calling one method
which is synchronized.
( method signature is like public void synchronize(){}
in that method body i am calling two stored procedures
in First Strored procedure i am inserting data into database ,,--table1
in Second Strored procedure also i am inserting data into database
,--table2,
table1 has primary key called auctionid
where as auctionid is the foreing key of table2
when i am calling this method this method says that foreing key
conflicts..
i don't know why this is happening..
my database is MsSql
please give me solution
Thanks and Regards,
pathik gandhi