Hi,

Criteria c = new Criteria();
c.addSelectColumn(MyGeneratedPeerClassForTable.COLUMN1);
List l = MyGeneratedPeerClassForTable.doSelect(c);

I recommend you read the provided documentation for Torque provided on
db.apache.org/torque

http://db.apache.org/torque/user-guide.html

Kind regards 

J�rgen Hoffmann

-----Urspr�ngliche Nachricht-----
Von: Inandjo Taurel [mailto:[EMAIL PROTECTED] 
Gesendet: Samstag, 18. Oktober 2003 15:30
An: [EMAIL PROTECTED]
Betreff: criteria getting one field only??

hi,

Using criteria, i wish somebody could tell me how to have the equivalent to 
this query:

SELECT  COLUMN1 FROM TABLE1

THANX..

_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to