Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 25603 invoked from network); 26 Aug 2007 15:59:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Aug 2007 15:59:53 -0000 Received: (qmail 70838 invoked by uid 500); 26 Aug 2007 15:59:43 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 70821 invoked by uid 500); 26 Aug 2007 15:59:43 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 70806 invoked by uid 99); 26 Aug 2007 15:59:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Aug 2007 08:59:43 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ole.trenner@gmx.de designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 26 Aug 2007 15:59:37 +0000 Received: (qmail invoked by alias); 26 Aug 2007 15:59:15 -0000 Received: from unknown (EHLO [192.168.115.80]) [78.53.33.84] by mail.gmx.net (mp043) with SMTP; 26 Aug 2007 17:59:15 +0200 X-Authenticated: #2279531 X-Provags-ID: V01U2FsdGVkX1+0eIJDjpW07DN8dKDdj1EQbAzM0usitnQ9lkfujI X1kI97D3L3/e1M Message-ID: <46D1A357.6070401@gmx.de> Date: Sun, 26 Aug 2007 17:59:19 +0200 From: Ole Trenner User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: user-java@ibatis.apache.org Subject: Re: Question about Abator References: <12311608.post@talk.nabble.com> <5EBE57594E74E84DB1DC6BA8E279389D0575DD3C@SOS-MAILSRV.ascindia.com> <12311906.post@talk.nabble.com> <12323703.post@talk.nabble.com> In-Reply-To: <12323703.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org NehaP wrote: > The xml files, DAOs and particularly the Example file generated by Abator > are very useful, hand-coding these would be more difficult than having them > generated by Abator. The flexibility of Abator is limited only due to the > fact that we cannot specify a custom Model bean. If we could, then giving > Abator the mapping between the custom bean and the existing database columns > would be as tough as simply specifying a resultMap in an SQLMap file (and > not as tough as writing the whole SQLMap file itself). In what way do the abator generated model classes differ from yours? If only the property names are different, you can configure every property using columnOverride or columnIgnore statements. If abator just adds code you don't wnat to see, you might consider inheriting from the abtorgenerated model classes. If abator ignores your own inheritance scheme, you can set a base class for your generated model files. Cheers, Ole.