Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 12730 invoked from network); 15 Dec 2003 12:10:14 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 15 Dec 2003 12:10:14 -0000 Received: (qmail 2889 invoked by uid 500); 15 Dec 2003 12:10:11 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 2767 invoked by uid 500); 15 Dec 2003 12:10:10 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Apache Torque Users List" Reply-To: "Apache Torque Users List" Delivered-To: mailing list torque-user@db.apache.org Received: (qmail 2747 invoked from network); 15 Dec 2003 12:10:10 -0000 Received: from unknown (HELO mail.globaltech-bg.com) (195.24.36.102) by daedalus.apache.org with SMTP; 15 Dec 2003 12:10:10 -0000 Received: from localhost (localhost [127.0.0.1]) by mail.globaltech-bg.com (Postfix) with ESMTP id 769B213C8A for ; Mon, 15 Dec 2003 10:10:19 -0200 (GMT+2) Received: from mail.globaltech-bg.com ([127.0.0.1]) by localhost (ns.globaltech-bg.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26769-08 for ; Mon, 15 Dec 2003 14:10:19 +0200 (EET) Received: from bogdan (unknown [192.168.11.135]) by mail.globaltech-bg.com (Postfix) with SMTP id 0832E13C85 for ; Mon, 15 Dec 2003 10:10:19 -0200 (GMT+2) Message-ID: <06b501c3c304$6130f5f0$690ba8c0@int.globaltechbg.com> From: "Bogdan Vatkov" To: "Apache Torque Users List" References: <2781788795jaolve@uv.es> Subject: Re: snapshot database view Date: Mon, 15 Dec 2003 14:10:07 +0200 Organization: Global Communications Technologies MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by F-Prot Antivirus at mail.globaltech-bg.com X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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: To: 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: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org