BDE5.01+DB2 V5 Problem

    Could somebody help me?
    I use BDE5.01 and database is DB2 V5.The problem is:In SQL Explorer,if I
insert two records that have same value in primary key, the windows cpu
resource will used 100% and the SQL Explorer have not response? I think it
could return an error message window, but it doesn't do that.
    What problem is it?