I have ODS connected to ClientDataSet via provider. The SQL contains stored procedure and insert/update/delete is maintained via provider BeforeUpdareRecord with stored procedures.
Unfortunatelly I have to load fields into ODS or set ODS.UniqueFields property.
Without this it crash with Access Violation on mentioned raw. Why the TOracleDataSet need the unique key information (everything is managed with stored procedures). I think that there is something wrong - if ODS cannot determine the key fields is should returns empty string (as db.pas) instead of raising an access violation ....
There is similar Related post
procedure TCustomResolver.InitKeyFields(Tree: TUpdateTree; ADelta: TPacketDataSet);
var
Pos, i: Integer;
KeyFields, FieldName: string;
begin
KeyFields := IProviderSupport(Tree.Source).PSGetKeyFields;
Pos := 1;
while Pos
Unfortunatelly I have to load fields into ODS or set ODS.UniqueFields property.
Without this it crash with Access Violation on mentioned raw. Why the TOracleDataSet need the unique key information (everything is managed with stored procedures). I think that there is something wrong - if ODS cannot determine the key fields is should returns empty string (as db.pas) instead of raising an access violation ....
There is similar Related post
procedure TCustomResolver.InitKeyFields(Tree: TUpdateTree; ADelta: TPacketDataSet);
var
Pos, i: Integer;
KeyFields, FieldName: string;
begin
KeyFields := IProviderSupport(Tree.Source).PSGetKeyFields;
Pos := 1;
while Pos