On Tue, 2002-04-30 at 04:12, 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 - after all, a complete crossjoin of a table with > itself isn't very useful... >
addAlias john mcnally -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
