db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kostyantyn Shchekotykhin <kos...@ifit.uni-klu.ac.at>
Subject Re: doSelectAllExcept... reference the same table twice
Date Mon, 03 May 2004 11:59:28 GMT
Hi Tarlika,

> I am wondering whether I could generate this behaviour into BaseXXXPeer. 
Of course you can. Espesially it will be useful if you will use aliases very often.

> I had a look at the Criteria src code and I
> don't think it would be to difficult. The only problem  might be alias (BRAND as b1)
in the FROM clause.
When BasePeer will build a query string from your criteria it will process aliases and will
create a valid FROM clause
for you. So that is not a problem.


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

View raw message