db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fischer <fisc...@seitenbau.net>
Subject RE: feature request
Date Mon, 18 Apr 2005 12:56:21 GMT

Hi Mickey,

left joins are available in the CVS version, in the Branches HEAD and

I am not sure whether Criteria(String generalSqlString) makes sense, for
the following reason :
Torque relies on the selected columns being in a special order to create
the object, so I would not let the user create the columns to select from
as part of the SQL query. To do that, Torque also needs to know the table
to include in the FROM clause.
The columns to select from and the table in the from clause can be obtained
from the Peer with which the select is done. But if the "Select XXX from
YYY" part is autogenerated, then one cannot handle complicated cases like

I can currently not see an acceptable way of how this could be implemented,
but I am certainly open to suggestions.  Are there any ?


"Mickey Mokotov" <mickey@fetchbook.info> schrieb am 18.04.2005 15:01:11:

> Hi fellows,
> Any chance to support Criteria(String generalSqlString), for all the
> unsupported queries?
> I need a LEFT JOIN which is unsupported and so I need to construct the
> objects by hands, instead of letting torque do it.
> --
>  <http://www.fetchbook.info/> www.FetchBook.Info
> Find the lowest price - Compare more then a hundred book stores in a

To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org

View raw message