Is it possible for Castor to ignore database fields that are not present in
the schema but are defined in the mapping file?


For example column 'name' doesn't exist in the database but exist in the
mapping file (object model). This is for cases where the object has changed
but the database hasn't changed as of yet.

<class name="ClassA" identity="id" >
<map-to table="a" />

<field name="id" type="integer">
   <sql name="id" />
</field>

<field rname="name" type="String" >
<sql name="name" />
</field>
:
</class>


Steve



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

Reply via email to