Shaun Campbell <[EMAIL PROTECTED]> writes:

> Trying to get joins working as per e-mails by setting objectModel=complex in
> my torque.props, and then running 'build-project project-om', but don't seem
> to be getting any joins in my peer classes.  

Specifying objectModel=complex should generate join methods in your
BaseXxxPeer.java files if you have the proper foreign keys properly
defined in your XML file.

> Can anyone suggest what I am doing wrong?  How does the builder relate the
> primary keys to foreign keys in the schema xml file to know how to join the
> tables?  Is there any documentation on this anywhere? 

The Torque source code is probably the best documentation for this question.
-- 

Daniel Rall <[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