Return-Path: Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: (qmail 14545 invoked from network); 22 Mar 2009 18:22:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Mar 2009 18:22:11 -0000 Received: (qmail 7621 invoked by uid 500); 22 Mar 2009 18:22:11 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 7602 invoked by uid 500); 22 Mar 2009 18:22:11 -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 7592 invoked by uid 99); 22 Mar 2009 18:22:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Mar 2009 18:22:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Mar 2009 18:22:10 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7F413234C045 for ; Sun, 22 Mar 2009 11:21:50 -0700 (PDT) Message-ID: <1948153971.1237746110518.JavaMail.jira@brutus> Date: Sun, 22 Mar 2009 11:21:50 -0700 (PDT) From: "Thomas Vandahl (JIRA)" To: torque-dev@db.apache.org Subject: [jira] Resolved: (TORQUE-121) Peer generation, using Peer.vm does not call super class' methods but always calls BasePeer.method(...) In-Reply-To: <1311490432.1234348859612.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TORQUE-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Vandahl resolved TORQUE-121. ----------------------------------- Resolution: Fixed Fix Version/s: 4.0 Fixed in SVN > Peer generation, using Peer.vm does not call super class' methods but always calls BasePeer.method(...) > ------------------------------------------------------------------------------------------------------- > > Key: TORQUE-121 > URL: https://issues.apache.org/jira/browse/TORQUE-121 > Project: Torque > Issue Type: Bug > Affects Versions: 3.1.1 > Environment: Java > Reporter: Tal Kramer > Assignee: Thomas Vandahl > Fix For: 4.0 > > Attachments: Peer.vm > > > When generating the om, the *Peer generated classes call BasePeer methods when calling to the original method, This ignores the base class. > On generation, it is possible to define a basePeer object, but it is irrelevant at the current state since it is not used within the static generated class. > To fix it, I have replaced in torque-gen.XX.jar in the file om/Peer.vm all calls to BasePeer.method(...) by ${table.BasePeer}.method(...). Is there a better solution? Or anything wrong with this suggestion? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org