logo       

RE: Not creating retrieveByPK methods: msg#00107

jakarta.turbine.torque.user

Subject: RE: Not creating retrieveByPK methods

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@xxxxxxxxxxxxx]
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@xxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxx
> For additional commands, e-mail: torque-user-help@xxxxxxxxxxxxx
>


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@xxxxxxxxxxxxx
For additional commands, e-mail: torque-user-help@xxxxxxxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise