I am attempting to use the TOracleDataSet's OnApplyRecord method to call stored procedures for DML statements, but am having trouble.
Using the latest version of DOA, with the CachedUpdates of my TOracleDataSet = True and also when I have it = False, when I insert a record and call Session.ApplyUpdates - no commit on a child in a master/detail relationship and then call Session.ApplyUpdates with a commit on the master, I end up with 2 records inserted instead of one.
What am I doing wrong and how can I get around this problem and have it only insert the record once?
Using the latest version of DOA, with the CachedUpdates of my TOracleDataSet = True and also when I have it = False, when I insert a record and call Session.ApplyUpdates - no commit on a child in a master/detail relationship and then call Session.ApplyUpdates with a commit on the master, I end up with 2 records inserted instead of one.
What am I doing wrong and how can I get around this problem and have it only insert the record once?