You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Simon Nash (JIRA)" <de...@tuscany.apache.org> on 2011/08/21 16:15:27 UTC

[jira] [Updated] (TUSCANY-2747) Don`t ignore "nullable" for dynamic types

     [ https://issues.apache.org/jira/browse/TUSCANY-2747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Nash updated TUSCANY-2747:
--------------------------------

    Fix Version/s: Java-SDO-Next

> Don`t ignore "nullable" for dynamic types
> -----------------------------------------
>
>                 Key: TUSCANY-2747
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2747
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SDO Implementation
>            Reporter: Andrey Utkin
>             Fix For: Java-SDO-Next
>
>
> Currently the "nullable" property`s property ignored for dynamic type definition.
> For example, the following code snip don`t work:
> =====
> DataObject dType = factory.create("commonj.sdo",  "Type");
> ....
> DataObject dProp = dType.createDataObject("property");
> ....
> dProp.set("name", "XXXX");
> dProp.set("nullable", Boolean.TRUE);
> ....
> Type definedType = types.define(dType);
> ....
> assertTrue(definedType.getProperty("XXXX").isNullable());
> =====

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira