I would think this is a bug. At least its worth a JIRA with the entire
test case attached.

Michael
Rogue Wave Software, Inc. - [EMAIL PROTECTED] Software Developer -
HydraSDO 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Adriano Crestani
Sent: Wednesday, September 19, 2007 4:59 AM
To: tuscany-dev@ws.apache.org
Subject: Fwd: [SDO C++] Setting::getDataObjectValue question

---------- Forwarded message ----------
From: Adriano Crestani <[EMAIL PROTECTED]>
Date: Sep 18, 2007 4:20 PM
Subject: [SDO C++] Setting::getDataObjectValue question
To: [EMAIL PROTECTED]

I have the following code:

const commonj::sdo::SettingList& settings =
summary->getOldValues(dataObject);

for (int i = 0 ; i < settings.size() ; i++) {

        if (!settings[i].getProperty().getType().isDataType()) {

                commonj::sdo::DataObjectPtr value =
setting[i].getDataObjectValue();

        }

}


Shold the "value" variable always be a valid pointer? Cause it's
returning NULL for me.

Adriano Crestani

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to