"Andre Steinmetzger" <[EMAIL PROTECTED]> schrieb am 09.04.2008 16:02:19: > how can I limit the selected columns in the resultlist. > When I create a criteria an call BasePeer.doSelect(criteria) torque generate a > SQL like select * from .... but I need something to create a SQL like select > column1, column2, .. from ...
There is a method called addSelectColumn (or something similar) in Criteria. Note, however, that the Result -> Java Object does not work if you specify the selected columns; you would have to use the villagwe ResultSet directly. Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]