db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angela Day <angela....@tdhca.state.tx.us>
Subject RE: Not creating retrieveByPK methods
Date Wed, 17 Nov 2004 19:52:29 GMT
I emailed you the xml file privately, rather than through the list.
Thanks for your help,

Angela Day


-----Original Message-----
From: Thomas Fischer [mailto:Fischer@seitenbau.net] 
Sent: Wednesday, November 17, 2004 1:21 PM
To: Apache Torque Users List
Subject: RE: Not creating retrieveByPK methods






Hi Angela,

this works for me. I have used the generator 3.1.1, the schema from the
tutorial.
E.g in BaseBookPeer, I find the methods
    public static Book retrieveByPK(int pk)
    public static Book retrieveByPK(int pk, Connection con)
    public static Book retrieveByPK(ObjectKey pk)

So some information about your schema.xml is needed...

   Thomas

Angela Day <angela.day@tdhca.state.tx.us> schrieb am 17.11.2004 20:03:53:

> I upgraded to torque 3.1.1 from 3.0 and now my classes are not being
created
> with retrieveByPK methods.  All tables have primary keys and this worked
in
> torque 3.0.
>
> Help!!!!!!!!!
>
> Angela
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message