db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zamek <za...@vili.pmmf.hu>
Subject Re: No doSelectJoin...() ?
Date Sun, 16 Mar 2003 13:05:00 GMT

doSelectJoinxxx is protected in BaseXXXPeer.java. If you want to use it, you 
have to take it public.
in your XXXPeer.java:

  public List selectJoinXXX (Criteria cr) throws TorqueException {
    return doSelectJoinXXX (cr);

at 2003. március 16. 13:54 wrote:
> Hi,
> I am new to this mailing list, so I don't know if this topic was discussed
> earlier.
> In the documentation (Peers Howto) I found a part that talks about methods
> like 'doSelectJoinCategory()' in class ItemPeer. I cannot find anny of
> these methods in my generated 'Peer' classes.
> As far as I understand the documentation, these methods will automatically
> populate referenced objects (foreign  keys in my db).
> My question(s):
> What do I have to do so that Torque generates these methods?
> Well, what I really want is that Torque auutomatically populates referenced
> objects, so that there is no extra db-select whhen accessing the referenced
> object.

Zoltan Zidarics programmer
PTE University Pecs, Hungary
icq: 43288694

View raw message