Hi,

I am currently facing the problem of unmarshalling base64 encoded data.
I did not find any pointers or examples on where and how to specify the
necessary conversions:

I have the following:

mapping:

     <class name="THead" identity="id" key-generator="MAX">
          <description> Task Head  </description>
          <map-to xml="_02" table="TASK_HEAD"/>
          <field name="id" type="long">
             <sql name="id" type="bigint"/>
          </field>
          <field name="taskId" type="string">
               <sql name="task_id" type="char"/>
               <bind-xml name="_03" node="element"/>
          </field>
          <field name="taskDate" type="string">
               <sql name="task_date" type="char"/>
               <bind-xml node="element" name="_04" />
          </field>
.......
     </class>


    <_02>
        <_03>MDAwMDAyMDQ3OA==</_03>
        <_04>MjAwMjA1Mjg=</_04>
......
  </_02>


Now I need know, where I have to specifiy, that the values of my elements
are base64 encoded, and that
these values shall be converted before they are stored in the corresponding
member variables of my classes.

Thanks for any help or pointers to existing examples.

C. Martin

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

Reply via email to