John

Thanks for the response unfortunately I don't get any of those methods so I
suspect its not working.  I don't suppose you know of any common mistakes I
could have made.

As I said in my previous e-mail I have set the objectModelType to complex in
torque.props.  I have verified it is picking up my edited torque.props by
changing the package where it puts my output.

I have verified my schema.xml by changing various fields which are reflected
in my generated peer classes.

I have tried both tdk1a10 and tdk1a11 as per Steve's solution but still no
joy.

It is 'build-project project-om' you need to run to generate the peer
classes isn't it?

The only other thing I have to go on is that I get the following in
mytest.generation.report:


org.mycompany.newapp.om.peer
org.mycompany.newapp.om.map

Failed to create dir or dir already exists:
../src/java/org\mycompany\newapp\om\peer\

Failed to create dir or dir already exists:
../src/java/org\mycompany\newapp\om\map\

            STATUS


            WISH

Have you got anything else I can test?

Regards

Shaun Campbell


-----Original Message-----
From: John McNally [mailto:[EMAIL PROTECTED]]
Sent: 20 February 2001 18:56
To: Turbine
Subject: Re: One more Peer/Join question


A quick look at this and I think you should have
Status.addWishs(Wish)
Status.getWishs(Criteria)
Wish.getStatus()
Wish.setStatus(Status)

There are no many-to-many relationship tables so that should be about
it.  Are you not seeing these?

John McNally

Shaun Campbell wrote:
> 
> Like Steve I too am trying to get joins to work.  I don't know if Steve
> eventually did.  I've tried what has been suggested in this thread but
still
> no joy.  I know I am probably doing something stupid as other people have
> got all the code generated  so as anyone got any suggestions.
> 
> I have the following code in my
> tdk\webapps\mytest\WEB-INF\build\project\mytest-schema.xml file
> 
> <app-data>
> <database>
>   <table name="STATUS">
>       <column name="STATUSID" required="true" autoIncrement="true"
> primaryKey="true" type="INTEGER"/>
>       <column name="STATUSDESCRIPTION" size="100" type="VARCHAR"/>
>   </table>
> 
>   <table name="WISH">
>     <column name="WISHID" required="true" autoIncrement="true"
> primaryKey="true" type="INTEGER"/>
>     <column name="TITLE" size="100" type="VARCHAR"/>
>     <column name="DESCRIPTION" type="LONGVARCHAR"/>
>     <column name="SPONSOR" size="100" type="VARCHAR"/>
>     <column name="ASSIGNED" size="100" type="VARCHAR"/>
>     <column name="STATUS" type="INTEGER"/>
> 
>     <foreign-key foreignTable="STATUS">
>       <reference local="STATUS" foreign="STATUSID"/>
>     </foreign-key>
>   </table>
>


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