I use DirectPathLoader, on calling Prepare - error: "Table or view not exists". Table exists - I check it. Same code:
Dm.OSs.Connected = True. Logon information fro DM.OSs is valid. For experiment I write before "Loader := TOracleDirect..." this:
This code work with no errors. Then I check Loader.Columns[0].Name (before "Prepare", after "GetDefaultColumns") - all right, columns was loaded succes. But on "Prepare" Loader faults with message "Table or view not exists".
Plz, help! Where is a bug?
Code:
Loader := TOracleDirectPathLoader.Create(nil);
Loader.Session := DM.OSs;
Loader.TableName := 'OSA_CELLS_TMP';
Loader.GetDefaultColumns(False);
Loader.Prepare;
Code:
with TOracleQuery.Create(Self) do
try
Session := DM.OSs;
SQL.Text := 'select * from OSA_CELLS_TMP';
Execute;
Close;
finally
Free;
end;
Plz, help! Where is a bug?