You can specify your tables in multiple mapbuilders while adding them to the
same DatabaseMap.  You grab the DatabaseMap from DBBroker in your mapbuilder
and continue adding tables to it.

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 01, 2000 4:47 AM
Subject: newbie:MyMapBuilder->Should I include Visitor, etc?


> Is it better practice to:
>
> 1) leave the standard tables (Visitor,Role) in the default
> DatabaseMap and add my business objects to using a separate
> MapBuilder.
> 2)Or should I create a new MapBuilder that would hold all the
> tables? (standard Turbine tables and my business objects).
>
> It seems like #1 would allow for upgrading Turbine.  But, can I do
> a join between tables in different "maps"? I am new to the Peer
> model, but it looks like you have to specify the DatabaseMap when
> you create a Criteria (criteria = new Criteria("MyMapName")).
>
> I appreciate your time.
>
> Brian
>
>
>
>
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]
>



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to