From torque-dev-return-6869-apmail-db-torque-dev-archive=db.apache.org@db.apache.org Sun Jun 18 08:17:50 2006 Return-Path: Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: (qmail 65845 invoked from network); 18 Jun 2006 08:17:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Jun 2006 08:17:50 -0000 Received: (qmail 46406 invoked by uid 500); 18 Jun 2006 08:17:50 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 46391 invoked by uid 500); 18 Jun 2006 08:17:49 -0000 Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Developers List" Reply-To: "Apache Torque Developers List" Delivered-To: mailing list torque-dev@db.apache.org Received: (qmail 46380 invoked by uid 99); 18 Jun 2006 08:17:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Jun 2006 01:17:49 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Jun 2006 01:17:48 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D4E5B7141F2 for ; Sun, 18 Jun 2006 08:16:29 +0000 (GMT) Message-ID: <25565406.1150618589868.JavaMail.jira@brutus> Date: Sun, 18 Jun 2006 08:16:29 +0000 (GMT+00:00) From: "Thoralf Rickert (JIRA)" To: torque-dev@db.apache.org Subject: [jira] Created: (TORQUE-31) complete generic type compatible API MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N complete generic type compatible API ------------------------------------ Key: TORQUE-31 URL: http://issues.apache.org/jira/browse/TORQUE-31 Project: Torque Type: Improvement Components: Generator Versions: 3.2.1 Reporter: Thoralf Rickert Priority: Trivial If the generator creates Java5 compatible methods then there are some methods from BasePeer that are not wrapped. This includes for example the execute*() methods. If we wrap them in the generated classes the API looks a little bit better. Currently there is just one easy solution in my mind - wrap this methods in the generated Base classes. For example: public class BaseTablePeer extends BasePeer { .... public static List executeQuery(String queryString) throws TorqueException { return (List)super.executeQuery(queryString); } .... } This means, that every public method in BasePeer should be wrapped in the generated class. I know, this is a lot and results in bigger classes and some synchronization problems, if the API of BasePeer is changed. But I think, it's easy to create. I'll create a patch for that next week. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org