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]

Reply via email to