I can upload point data in batch mode, using a TOraSQL,
settings its ArrayLength property to a large value e.g. 1000,
using an SDO expression like
Code: Select all
MDSYS.SDO_GEOMETRY(2001,NULL,MDSYS.SDO_POINT_TYPE(:p_x,:p_y, NULL)
In my code (in a loop) I can then use
Code: Select all
OraSQL.ParamByName('p_x').ItemAsFloat[iBatch] := RoundTo(Point.X, -2);
I also want to upload polylines, polygons, multipoints and that sort of geometries,
but then I need something like
Code: Select all
OraSQL.ParamByName('p_geo_object').ItemAsBlob[iBatch] := MyGeometryObject;
Problem:
There does not seem to be an 'ItemAsBlob' or similar method which works as an array.
Am I missing something here?
What is the way to insert blobs in a faster way than one by one?