http://jakarta.apache.org/turbine/torque/tutorial.html

look at autor (author_id) will solve your problem.


On Sun, 24 Feb 2002, Juli�n Listo wrote:

> Hi all!
> 
> I'm looking around at OR frameworks, lurked on the Turbine mailing list a 
> while and I have a question that was picked up by Leon Messerschmidt 
> <[EMAIL PROTECTED]> who said:
> 
> >Torque will generate methods for you to access the relevant objects.
> >For example Category and Item.  Category.getItems() will give all the 
> > >items for a category or Item.getCategory() will give the associated 
> > >Category for an Item.
> >Torque also generates methods for joining all objects with less db >hits as 
> >to improve performance.
> 
> This is great... problem I have is that I can't find any docs that describe 
> how to do this. I've been browsing through Scarab 1.0b4 source too but it 
> appears a lot of that is hand-coded... or perhaps I'm not clear exactly what 
> the syntax is for the Turbine schema.xml? I would've thought it would be 
> part of the foreign-key definition but nothing there makes sense to me.
> 
> Any suggestions would be greatly appreciated!
> 
> cheers all (and particularly Leon for responding to the first question),
> 
> Julian.
> 
> 
> 
> _________________________________________________________________
> Con MSN Hotmail s�mese al servicio de correo electr�nico m�s grande del 
> mundo. http://www.hotmail.com/ES
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 

-- 
"If we did all the things we are capable of, 
we would literally astound ourselves"
 - Thomas Edison


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to