I would like to set a TimestampAttr of a TOracleObject:
TOracleObject* obj = new TOracleObject(mysess, "name, "");
TOracleTimestamp* ts = new TOracleTimestamp(mysess, otTimestampLTZ);
ts->SetValuesTZ(...);
obj->AddElement();
obj->ObjElements[0]->SetAttr("NR", 123);
attribute TM ist an Oracle timestamp but:
obj->ObjElements[0]->TimestampAttr("TM")->Assign(ts);
failes (invalid handle).
How is this to be done?
Markus
TOracleObject* obj = new TOracleObject(mysess, "name, "");
TOracleTimestamp* ts = new TOracleTimestamp(mysess, otTimestampLTZ);
ts->SetValuesTZ(...);
obj->AddElement();
obj->ObjElements[0]->SetAttr("NR", 123);
attribute TM ist an Oracle timestamp but:
obj->ObjElements[0]->TimestampAttr("TM")->Assign(ts);
failes (invalid handle).
How is this to be done?
Markus