Thanks, Oleg! I assumed that something like that existed, but I was looking in the RelatedJoin class--entirely the wrong place in this case.

Molly

On 7/12/07, Oleg Broytmann <phd@phd.pp.ru> wrote:
On Thu, Jul 12, 2007 at 05:25:52PM -0700, Molly Aplet wrote:
> Optimizer.sqlmeta.addJoin
> (RelatedJoin('OptimizerTeam',joinMethodName='OptimizerTeams'))
> OptimizerTeam.sqlmeta.addJoin(RelatedJoin('Optimizer',
> joinMethodName='Optimizers'))

   You have to create an intermediate table that stores pointers between
these two tables:

Optimizer.createJoinTables(ifNotExists=True)

Oleg.
--
     Oleg Broytmann             http://phd.pp.ru/            phd@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss