on 3/26/00 7:02 PM, Dave Bryson <[EMAIL PROTECTED]> wrote:

> I'm just thinking off the top of my head, but could templates help here some
> how?
> For example, you could have a generic Peer template that is filled in by the
> XML
> map-
> 
> public class ${REPLACE}Peer extends BasePeer
> {
> #for each column in map
> public static final String ${COLUMN} = ....
> }
> 
> Or are you wanting to completely generate Peer classes in memory?

sure...it is possible to generate the Peers on disk...that is easy...what i
want to be able to do is specify EVERYTHING that is needed to work with Maps
and Peers in an XML file....that way, if i want to rename a column or add a
column...all i need to do is update the XML file...

-jon



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to