[
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