Jeff Schnitzer wrote: >>From: Sam Joseph [mailto:[EMAIL PROTECTED]] >> >>>But there is no way to do self-joins, is there? >>> >>I can imagine that a Torque self join might work and might not. I >> >would > >>be tempted to do something like this: >> >>x_crit.addJoin(DepartmentPeer.id,DepartmentPeer.otherId); >> > >There still isn't any way to add restrictions to each of the join >instances separately > no? I would have thought that you could.
>- after all, a complete crossjoin of a table with >itself isn't very useful... > Why don't you give me an example of the kind of query you want to do, and I'll see if I can't work out how to do it. CHEERS> SAM -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
