Hi:
I'm inserting records using array DML, and i found a very strange behaviour in one case:
if there is a row of the array that contains data that violated referential integrity then OnArrayError is triggered and shows ORA-2291. That's Ok. However index is always 0, and wrong data row may be 15, for example. Then ALL rows in Array triggers OnArrayError with ORA-0001(Unique Constraint violated), but this is false. And finally, all rows are inserted no matter errors showed during the process.
Thanks in advance.
I'm inserting records using array DML, and i found a very strange behaviour in one case:
if there is a row of the array that contains data that violated referential integrity then OnArrayError is triggered and shows ORA-2291. That's Ok. However index is always 0, and wrong data row may be 15, for example. Then ALL rows in Array triggers OnArrayError with ORA-0001(Unique Constraint violated), but this is false. And finally, all rows are inserted no matter errors showed during the process.
Thanks in advance.