I spend migration from version 3.4.6.4 on version 4.0.7.1.
The mistake arises in a file "OracleData.pas" in a methos:
procedure TOracleDataSet.CreateUpdate(...
procedure TOracleDataSet.CreateInsert(...
At query texts there is a word "returning". But it does not work for view. In version 3.4.6.4 of this problem was not.
Probably it is necessary to add property UpdateObjectIsTable:
if UpdateObjectIsTable and (ReturningFrom '') then
DMLQuery.SQL.Add('returning ' + ReturningFrom + ' into ' + ReturningInto);
end;
end;
The mistake arises in a file "OracleData.pas" in a methos:
procedure TOracleDataSet.CreateUpdate(...
procedure TOracleDataSet.CreateInsert(...
At query texts there is a word "returning". But it does not work for view. In version 3.4.6.4 of this problem was not.
Probably it is necessary to add property UpdateObjectIsTable:
if UpdateObjectIsTable and (ReturningFrom '') then
DMLQuery.SQL.Add('returning ' + ReturningFrom + ' into ' + ReturningInto);
end;
end;