You are not logged in.
Pages: 1
I got this error:
20200210 12185508 EXC EModelException {"Message":"TSQLMapBox has 7 fields: RTREE expects 2,4,6..10 boundary columns"} [] at
6c7774 mORMot.TSQLModelRecordProperties.SetKind (33997) stack trace API
6c7774 mORMot.TSQLModelRecordProperties.SetKind (33997)
6c7021 mORMot.TSQLModelRecordProperties.Create (33900)
6c7f96 mORMot.TSQLModel.SetTableProps (34106)
6c901e mORMot.TSQLModel.Create (34310)
I have two RTREE tables in the same model:
TSQLMapBox = class(TSQLRecordRTree)
private
FLat1: Double;
FLon1: Double;
FLat2: Double;
FLon2: Double;
published
property Lat1: Double read FLat1 write FLat1;
property Lon1: Double read FLon1 write FLon1;
property Lat2: Double read FLat2 write FLat2;
property Lon2: Double read FLon2 write FLon2;
end;
TSQLAnimalMap = class(TSQLRecordRTree)
private
FLat1: Double;
FLon1: Double;
FLat2: Double;
FLon2: Double;
published
property Lat1: Double read FLat1 write FLat1;
property Lon1: Double read FLon1 write FLon1;
property Lat2: Double read FLat2 write FLat2;
property Lon2: Double read FLon2 write FLon2;
end;
Only happens when the model is created in concurrence (several calls to my webservice), using SOA.
It happens with both tables.
The quantity of fields change in the error message "...has 7 fields: RTREE expects...", someties it shows 5 instead of 7.
Any ideas?.
Thanks in advance.
Offline
Pages: 1