For example:
String query = "SELECT * FROM <your table name> WHERE <your table
name>.USER_ID=" + user_id;
Vector v = BasePeer.executeQuery(query);
This is a way, but of course it should be more "elegant" to use torque and
generate your own peers.
Bye,
Carlos
[EMAIL PROTECTED] wrote:
> I'd like to access other table instead of Torque-generated one in Peer.
> (both table has the same schema).
>
> is there a way to do this?
>
> Thanks.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]