Return-Path: Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: (qmail 19212 invoked from network); 24 May 2005 21:14:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 May 2005 21:14:15 -0000 Received: (qmail 86152 invoked by uid 500); 24 May 2005 21:14:15 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 85982 invoked by uid 500); 24 May 2005 21:14:14 -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 85960 invoked by uid 99); 24 May 2005 21:14:14 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from smtpgw07out.chubb.com (HELO smtpgw07out.chubb.com) (167.156.161.25) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 24 May 2005 14:14:12 -0700 Received: from ext10-20-4-72.chubb.com (HELO lnsmtp2.chubb.com) (10.20.4.72) by smtpgw07out.chubb.com with ESMTP; 24 May 2005 17:17:59 -0400 X-IronPort-AV: i="3.93,133,1115006400"; d="scan'208"; a="79866715:sNHT17073016" Subject: CamelBack notation Output for Spring work To: torque-dev@db.apache.org X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003 Message-ID: From: jmenke@chubb.com Date: Tue, 24 May 2005 17:12:58 -0400 X-MIMETrack: Serialize by Router on LNSMTP2/SRV/ChubbMail(Release 5.0.9a |January 7, 2002) at 05/24/2005 05:14:36 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I am trying to produce a working application using Spring and Torque. I already have Spring working with Hibernate and IBatis using a set of Domain classes that are written with Camelback notation. I want to show that you can port from Hibernate to IBatis to Torque inside a Spring Framework... 2 problems appeared right off the bat: --- In Hibernate and IBatis you don't include any logic in the domain objects. --- I have already designed my Domain objects for use with Hibernate and IBatis in Camelback Notation and Torque seems to lowercase everything To this end I am going to create an Interface for my domain ojbects using the Camelback Notation. Then I wil make the Torque classes implement this interface as well as Hiberate and Other objects. In this way I can have 2 sets of Domain objects. One set for Hibernate and IBatis with no logic and one set for Torque. I have a schema I am describing like this:
I want my accessor/mutator methods to have names like getAttachmentId not getAttachmentid getFileName not getFilename Torque seems to lowercase all the names... Can this be avoided? Is there any easy way to do this by altering the velocity macros? John Menke --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org