db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fischer <Fisc...@seitenbau.net>
Subject RE: Not creating retrieveByPK methods
Date Wed, 17 Nov 2004 19:21:16 GMT





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


Mime
View raw message