ODAC 6.50.x.x and MDSYS.SDO_GEOMETRY

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Aufhauser
Posts: 56
Joined: Mon 21 Nov 2005 09:44
Location: Herzogenburg, Austria

ODAC 6.50.x.x and MDSYS.SDO_GEOMETRY

Post by Aufhauser » Fri 19 Sep 2008 15:05

I have problems, using ODAC 6.50.0.x with fields of type mdsys.sdo_geometry.
I use this code:
FQuery:= TOraQuery.Create(nil);
//
FQuery.Session:= FSession;
FQuery.ObjectView:= True;
FQuery.FetchAll:= True;
FQuery.Options.RequiredFields:= False;
FQuery.SparseArrays:= True;
FQuery.UniDirectional:= True;
//
FQuery.SQL.Add('SELECT '+FKeyFieldName+','+FGeomFieldName+
' FROM '+ FLayer;
FQuery.SQL.Add('ORDER BY '+FKeyFieldName);
FQuery.Active:= True;

After opening the query the program crashes with an access violation (read from adress 0000000C).

Version 6.25.2.15 works fine!
Do you have a solution for my problem?

Thanks
Stefan

Aufhauser
Posts: 56
Joined: Mon 21 Nov 2005 09:44
Location: Herzogenburg, Austria

Post by Aufhauser » Fri 19 Sep 2008 15:08

Sorry, I forgot:
I use Delphi 7 and Oracle 10.2.0.3

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Tue 23 Sep 2008 07:57

We have fixed this problem. The fix will be included in the next build of ODAC.

Post Reply