Steve, I am currently working on adding support for the transient attribute at the <sql> level, which is exactly what you are asking for. I have got one person helping me to test the code right now, but I won't be able to commit this before August 3rd (due to private circumstances, such as holiday .. ;-)).
Please familiarize yourself with bug 1201 at http://bugzilla.exolab.org, which includes a description of the feature request, its implementation (to some degree) and the patch I will use once I commit this bug. Iow, if you wanted, you could grab the latest sources from the CVS repository, build the Castor JARs yourself and test the new feature. Let me know whether you've got more questions. Regards Werner On Fri, 9 Jul 2004 15:46:21 -0400, Stephen Ince wrote: > >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 > ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-user
