You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-user@db.apache.org by Loïc QUERAN <lo...@gicm.fr> on 2004/01/26 16:37:04 UTC

Confusion between columns with same name in joins

Table A has a DESCRIPTION column. Table B also has a DESCRIPTION column.

A.addSelectColumn(criteria);
B.addSelectColumn(criteria);
criteria.addJoin(BPeer.A_ID, APeer.ID);
rows = BasePeer.doSelect(criteria);

returns rows in which A's description is in fact B's description.

Has any one ever come across this and found a solution ? Where can 
Village source be found ?

Thanks in advance.

Loïc


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