Hi,

 

I’m trying to use Castor JDO. I’m generating code from an XML Schema using the “source code generator” and

Then, I’m trying to map the result on a relational model. My problem is with so-called enumeration (<xs:simpleType name="ApplicationIdType"> <xs:restriction base="xs:string"> <xs:enumeration …).

 

I have tried to use the verify-constructable="false" construct at the class level (and after at the field level because I have found an example in maillist – even if the mapping.xsd schema permits it only at the class level …). Anyway, it does not change anything and JDO continues to complain that it can’t find a convertor between string and <enum type> (even if the static method ValueOf exists in the generated code…)

 

Honestly, I must misunderstand something but I feel stuck !

 

Regards,

 

C.ASSEMAT

 

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-user

Reply via email to