Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 48999 invoked from network); 26 Feb 2004 12:02:23 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 26 Feb 2004 12:02:23 -0000 Received: (qmail 97639 invoked by uid 500); 26 Feb 2004 12:02:19 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 97627 invoked by uid 500); 26 Feb 2004 12:02:18 -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 97610 invoked from network); 26 Feb 2004 12:02:18 -0000 Received: from unknown (HELO relay.pair.com) (209.68.1.20) by daedalus.apache.org with SMTP; 26 Feb 2004 12:02:18 -0000 Received: (qmail 84942 invoked from network); 26 Feb 2004 12:02:15 -0000 Received: from unknown (HELO CameronAcer) (213.249.63.83) by relay.pair.com with SMTP; 26 Feb 2004 12:02:15 -0000 X-pair-Authenticated: 213.249.63.83 From: "Cameron Hickey" To: "'Apache Torque Users List'" Subject: Best Practice for Accessing DB objects generically Date: Thu, 26 Feb 2004 14:02:11 +0200 Message-ID: <000201c3fc60$61885350$0100a8c0@CameronAcer> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <20040226111045.64517.qmail@web13602.mail.yahoo.com> Importance: Normal 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 What are considered the best and/or most direct means of accessing data from a variety of torque objects in a generic way? Specifically, my goal is to create a generic DAO class which can handle LIST as well as AddUpdateDelete functions on any torque OM object simply by passing in the table name as a string. One obvious example of a use for this is a web-based database administration tool, which is at least part of what I am trying to accomplish. Thanks for any advice/links Cameron --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org