Criteria criteria = new Criteria(); List alist = YourTableClassPeer.doSelect(criteria); and list holds all your table represented by the YourTableClass
((YourTableClass)list.get(index)).getMyField .... ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 15, 2003 13:41 Subject: snapshot database view I wonder if it is possible to get a kind of snapshot view of some tables of the database with Torque. I would like to load the content of a table as objects at the beginning of my application, and access them without generating new selects to the database. Has anybody solved this case? I think it would be a very interesting feature for a lot of applications. Thanks in advance. Javi --------------------------------------------------------------------- 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]
