Hi Stepan I was chatting with Brent, that tried before using readony properties in our Tuscany DAS implementation and wasn't able to have success doing that. You will need some help from the SDO guys, sorry.
May I ask you what datasource you are trying to handle with your own DAS ? -- Luciano Resende http://people.apache.org/~lresende On 1/8/07, Dan Murphy <[EMAIL PROTECTED]> wrote:
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 SDOs. 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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >