Hi Glenn Great idea! I have a mapping for my JDO work, but did not want all the fields to be un/marshalled as XML. All I really need to do is to create a new mapping file. Hmm, maintainance would be a nightmare.
Btw, has anyone attempted to use XDoclet to generate the mapping.xml from the java source? I know Castor Doclet does it, but it's not very flexible. It does not allow you to choose which fields you want to be in the mapping file. =( XDoclet allows you to define your won template and it's extremely flexible. Regards Keith C > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Glenn Nielsen > Sent: Saturday, 20 October 2001 3:38 p.m. > To: [EMAIL PROTECTED] > Subject: Re: [castor-dev] OQL question > > > I think I know what he is asking, I ran into this also. > > I wanted to have a field mapped to an object, but I didn't want that > field to be output in the XML marshalled for the object. > > to overcome this I duplicated my work and some code by writing a separate > mapping file which I use when marshalling an object as XML. > > Regards, > > Glenn > > Bruce Snyder wrote: > > > > This one time, at band camp, Maring, Steve said: > > > > MS >I have a table field that I need to use in my where clause > but I don't want > > MS >it as an attribute of my object. Can I do this? Is there > some way to flag > > MS >a field in the mapping file as not being a member of the object? > > MS > > > > > This seems contradictory: You want the ability to select the data in the > > table without it being part of an object. Do I misunderstand > what you're saying > > here? > > > > Bruce > > -- > > > > perl -e 'print > unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");' > > > > ----------------------------------------------------------- > > If you wish to unsubscribe from this mailing, send mail to > > [EMAIL PROTECTED] with a subject of: > > unsubscribe castor-dev > > -- > ---------------------------------------------------------------------- > Glenn Nielsen [EMAIL PROTECTED] | /* Spelin donut madder | > MOREnet System Programming | * if iz ina coment. | > Missouri Research and Education Network | */ | > ---------------------------------------------------------------------- > > ----------------------------------------------------------- > If you wish to unsubscribe from this mailing, send mail to > [EMAIL PROTECTED] with a subject of: > unsubscribe castor-dev > > > ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
