db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Emminger <e...@ericemminger.com>
Subject what's the purpose of Criteria.addSelectColumn?
Date Mon, 31 Mar 2003 15:09:23 GMT
If you use addSelectColumn in a doSelect, you get a TorqueException. Is 
addSelectColumn only intended for use in doSelectVillageRecords or am I 
missing something?

For example,

Criteria crit = new Criteria();
List list = SomePeer.doSelect(crit);

will throw TorqueException, saying "Only 1 columns exist!"


View raw message