I have created a patch for this problem (
http://issues.apache.org/jira/browse/TUSCANY-873) which solves the immediate
problem I have in PHP SDO and passes the PHP SDO tests that exist at the
moment. However I'm not too comfortable with it because it is used by
numerous parts of data object API function which looks complicated enough
already.

What I have done is create a internal version of the getPropertyIndex()
method called getPropertyIndexInternal() which creates a new property in the
data object if the property doesn't already exist and the data object type
is open. I use this new method whenever is seems that getPropertyIndex was
used during the setting of properties. Can an C++ SDO expert take a look at
this and see if this looks OK. Happy to discuss alternative approaches.

Regards

Simon

Reply via email to