On Tue, Feb 06, 2001 at 11:02:28AM -0800, Jon Stevens wrote:
> on 2/6/01 9:05 AM, "John McNally" <[EMAIL PROTECTED]> wrote:
> 
> > If you choose the objectModel=complex in your torque.props, many join
> > methods will be created.  Maybe one will meet your needs, or at least
> > you will see how Peers can be used in joins, and you can add your own.
> 
> John, why isn't this (objectModel=complex) default? I think that people want
> this functionality and it would be good to get more people testing it.

+1, things became so much easier when I switched this on, and so far
(touchwood) no problems.

It's great that I can write something like:

#foreach ($storegroup in $storegroups)
$storegroup.StoregroupType.Name: $storegroup.Name
#end

in templates, which goes and retrieves the appropriate store group type
object via the ID in the storegroup object without me writing a line of
real java!

The only thing that would be /real/ nice is if mapping tables could be
spotted, and the layer of indirection involving objects that represent a
mapping row in the table avoided. It's pretty easy to use those mapping
objects though, so I'm not sure its really necessary...

Sean

-- 
Sean Legassick
[EMAIL PROTECTED]
      Jag är en man, ingenting mänskligt är främmande för mig  
      
      


------------------------------------------------------------
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