Hi there, If I did this:
Criteria crit = new Criteria(); crit.addJoin(Table1Peer.ID1, Table2Peer.ID2, Criteria.INNER_JOIN ); crit.addSelectColumn(Table1Peer.ID1); crit.addSelectColumn(Table2Peer.NAME); crit.addSelectColumn(Table2Peer.NOTES); List list = null; try { list = BasePeer.doSelect(crit); } catch (Exception e) { Log.error("Error runnnnning query: " + e.getMessage()); } How can I retrieve the list of columns returned by the query? Thanks very much in advance! David -- Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.18/586 - Release Date: 12/13/2006 6:13 PM --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]