[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.dsdp.tm] Re: persistence of IHost custom properties

I didn't call commit(). It works now, thanks.

David McKnight wrote:
Hi Vsevolod,

I would expect this to work. After you add the property, do you call commit()?

Dave

"Vsevolod Sandomirskiy" <vss@xxxxxxxxxxxxx> wrote in message news:h7msm0$1f3$1@xxxxxxxxxxxxxxxxxxxx
I have to associate some custom values with an IHost. I create a new IPropertySet for the host and then create a new property by calling IPropertySet.addProperty().

The new property set doesn't seem to be persistent. I restart my application and the property is gone.

Should this work? Is there any other mechanism?

Thanks.