You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Stepan Ilchenko (JIRA)" <tu...@ws.apache.org> on 2007/03/16 10:06:09 UTC

[jira] Created: (TUSCANY-1180) Unable to initialize read-only properties

Unable to initialize read-only properties
-----------------------------------------

                 Key: TUSCANY-1180
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1180
             Project: Tuscany
          Issue Type: Bug
          Components: Java SDO Implementation
    Affects Versions: Java-SDO-Mx
            Reporter: Stepan Ilchenko
             Fix For: Java-SDO-M3


The problem is that we can't initialize read-only property in recently created DataObject, when we fill it with data by own DAS. SDO API says, that Exception should be raized in case of attempting to change that king of property through API. That's why new method in SDO Implementation needs to be created to provide property initialization.
Maybe 'isSet' parameter should be used to control initialization process of the property.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1180) Unable to initialize read-only properties

Posted by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kelvin Goodson updated TUSCANY-1180:
------------------------------------

    Fix Version/s:     (was: Java-SDO-M3)
                   Java-SDO-Mx

> Unable to initialize read-only properties
> -----------------------------------------
>
>                 Key: TUSCANY-1180
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1180
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-Mx
>            Reporter: Stepan Ilchenko
>             Fix For: Java-SDO-Mx
>
>
> The problem is that we can't initialize read-only property in recently created DataObject, when we fill it with data by own DAS. SDO API says, that Exception should be raized in case of attempting to change that king of property through API. That's why new method in SDO Implementation needs to be created to provide property initialization.
> Maybe 'isSet' parameter should be used to control initialization process of the property.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1180) Unable to initialize read-only properties

Posted by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12536664 ] 

Kelvin Goodson commented on TUSCANY-1180:
-----------------------------------------

Resolution of this issue is dependent on http://www.xcalia.com/support/browse/SDO-37, currently targeted at SDO 3.

> Unable to initialize read-only properties
> -----------------------------------------
>
>                 Key: TUSCANY-1180
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1180
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-Next
>            Reporter: Stepan Ilchenko
>             Fix For: Java-SDO-Next
>
>
> The problem is that we can't initialize read-only property in recently created DataObject, when we fill it with data by own DAS. SDO API says, that Exception should be raized in case of attempting to change that king of property through API. That's why new method in SDO Implementation needs to be created to provide property initialization.
> Maybe 'isSet' parameter should be used to control initialization process of the property.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1180) Unable to initialize read-only properties

Posted by "Frank Budinsky (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481626 ] 

Frank Budinsky commented on TUSCANY-1180:
-----------------------------------------

The SDO specification workgroup is planning to define an SPI for setting readonly properties, but until then we recommend not using readonly properties.

> Unable to initialize read-only properties
> -----------------------------------------
>
>                 Key: TUSCANY-1180
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1180
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-Mx
>            Reporter: Stepan Ilchenko
>             Fix For: Java-SDO-M3
>
>
> The problem is that we can't initialize read-only property in recently created DataObject, when we fill it with data by own DAS. SDO API says, that Exception should be raized in case of attempting to change that king of property through API. That's why new method in SDO Implementation needs to be created to provide property initialization.
> Maybe 'isSet' parameter should be used to control initialization process of the property.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org