I'm a bit confused by this answer.  <sql> elements?  I used the source 
generator to produce a java file for Customer and CustomerDescriptor.  

Where do I use the CustomerDescriptor?  I'm using castor to both map to 
a SQL table and for marshalling to XML.  Is the descriptor used in both 
activities?

Thanks

-Brian


Bruce Snyder wrote:

>This one time, at band camp, bikehead said:
>
>b>I know that this is an incredibly simple question, but now that I've use 
>b>the source generator to make a class and its descriptor from the XSD, 
>b>where do I use the descriptor file?  I searched through the tests and I 
>b>didn't find code that used one of the generated descriptors.  I must be 
>b>looking in the wrong place.  Please point me to a simple example that 
>b>uses the generated class and descriptor.
>b>
>b>Oh, one other question:  as I understand it the descriptor is used 
>b>during marshalling, so is the descriptor used bothe by the XML 
>b>conversion and the Database components?
>
>If you want to use the mapping descriptor for Castor JDO, you'll need to
>add at least the <sql> elements, if not more. It's been a while since
>I generated one from the Source Generator. I usually do it by hand or
>use XDoclet myself.
>
>Bruce
>  
>

-- 
   __o 
 _-\<,_   Brian
(_)/ (_)  [EMAIL PROTECTED]  x503
 

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

Reply via email to