tuscany-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Murphy" <dm.s...@googlemail.com>
Subject Re: Initializing of readonly properties in SDO
Date Mon, 08 Jan 2007 15:30:22 GMT
Hi Stephan,
I think this is a very interesting point. The spec says that setting
readonly properties is the responsibility of the DAS, without saying how the
DAS should do this !

One way I have got around this was to generate static classes and create my
own setter for read only properties, but this is only any good for static

Perhaps the DAS chaps can let is know how they do it... I suspect you'll
need to cast and dip into the actual DynamicDataObjectImpl class

On 08/01/07, Stepan Ilchenko <s_il@mail.ru> wrote:
> How can I initialize SDO readonly property using SDO API or Tuscany
> Implementation? I'm trying to make my own DAS from specific source and
> I need to initially set readonly property. It's not a default value,
> it's value that I can't change later by SDO API.
> I thought I could change it before I started logging in DataGraph, but
> I couldn't because of the exception: "The feature 'ID' is not a valid
> changeable
> feature".
> Thanks,
> Stepan
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-user-help@ws.apache.org

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message