Hi

It's very easy using SDO process complex-type schema. 

But things are difficult  while using SDO to deal with simple-type schema.
The following is some difficult:

 

1)       How could I get a SDO type for simple-type-schema(etc xs:string),
and How could I use the type to create a data object? 

Although I could get the type named as  "common.sdo/String" . But I couldn't
use it to create a SDO instance( DataFactory.create() will failed by throw
IllegalArgument Exception;

 

2)       While load simple type xml element instance as  SDO, I will get a
SimpleAnyTypeObjectImpl. 

How could I create such a instance?

If I get such a instance, how can I determine what  the exactly simple type(
Integer, String , .) is?  Although SimpleAnyTypeObjectImpl 's getType()
method does return a type , but the type cannot tell anything about the
exact simple type(Integer, or String .).

 

Thanks any suggestion

 

 

 

 

Thanks any suggestion

 

Reply via email to