ODAC 6.50.x.x and MDSYS.SDO_GEOMETRY
Posted: 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
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