Page 1 of 1

Access violation in module orageneric11.dll

Posted: Mon 01 Feb 2010 09:55
by dimon_adv
OCI: version 11.1
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0
Delphi 2010
ODAC 6.90.0.55

In Oracle created type:
create or replace type TTBL_STRING as table of varchar2(4000 char);

Delphi:

Code: Select all

procedure TForm2.Button2Click(Sender: TObject);
var
  PersOraList: TOraNestTable;
  ItemIndex: Integer;
begin
  PersOraList := TOraNestTable.Create(TOraType(GetOraType(OraSession1.OCISvcCtx, 'TTBL_STRING')));
  try
    ItemIndex := PersOraList.AppendItem;
    PersOraList.ItemAsString[ItemIndex] := 'Test'; // <-- Error
  finally
    PersOraList.free;
  end;
end;
After run application raise error:
Access violation at address 097FEF5A in module 'orageneric11.dll'. Read of address B2D88B53.

Whats wrong ?

Posted: Tue 02 Feb 2010 11:22
by Falcon
Thank you for information. We have reproduced this problem and fixed it. This fix will be included in the next ODAC build.

Posted: Tue 02 Feb 2010 12:31
by dimon_adv
Can I get access to the patch, as a registered user?
Or at least know the planned release date updates.

Posted: Fri 05 Feb 2010 07:28
by Challenger
We are planning to release new build of ODAC in about two weeks.