Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 69570 invoked from network); 20 May 2010 21:27:27 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 20 May 2010 21:27:27 -0000 Received: (qmail 67919 invoked by uid 500); 20 May 2010 21:27:26 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 67864 invoked by uid 500); 20 May 2010 21:27:26 -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 67857 invoked by uid 99); 20 May 2010 21:27:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 May 2010 21:27:26 +0000 X-ASF-Spam-Status: No, hits=-0.6 required=10.0 tests=AWL,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jeffgbutler@gmail.com designates 209.85.212.53 as permitted sender) Received: from [209.85.212.53] (HELO mail-vw0-f53.google.com) (209.85.212.53) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 May 2010 21:27:21 +0000 Received: by vws10 with SMTP id 10so386049vws.12 for ; Thu, 20 May 2010 14:27:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=VkYiMfPzkr+dyyhEzlHC1+lOhWS+Hu02HFWI7kxVPKo=; b=IEoKK9qL/cqUVB3a75UP2ac4Inlwodxyj3V9BpNADoSMmuZUwyB67U6RH1gcaUMO76 GnPoODbb/TN3ny+hzaYtC33aAzUf/SnpHkH0nCcsvAMf1Vi1gs0bTe818YAIENdM1jAO GdwP2Pxh3AanaJSLaB+HQFJMMTWn+3SXN/TiU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=trVt+pCXDB57ivql8KiFyglR/U4JoGlGwjEYL1eYlgr6niBhaD7M5Z2P4/QkeVtC77 PPvOyf2JXctqeRF9rILWbJFajP2kAFecPOZF8xF3h83VSuEdq2dzxsHYX0yTqToMJ7ey 0Eawsl7Z70F/MoMT1Y6DoLHqUKhXkXa72EwO8= MIME-Version: 1.0 Received: by 10.229.247.211 with SMTP id md19mr187944qcb.146.1274390820275; Thu, 20 May 2010 14:27:00 -0700 (PDT) Received: by 10.229.82.16 with HTTP; Thu, 20 May 2010 14:27:00 -0700 (PDT) In-Reply-To: <4BF4588D.7020906@roybailey.info> References: <4BE87B39.5050703@roybailey.info> <4BF4588D.7020906@roybailey.info> Date: Thu, 20 May 2010 16:27:00 -0500 Message-ID: Subject: Re: ibator download From: Jeff Butler To: user-java@ibatis.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I usually add these types of methods directly to the generated classes. In my experience, it's pretty rare to have to regenerate classes. If you use Ibator through the eclipse plugin, then the added methods will even survive a regeneration. Here's documentation for building a new version of the Eclipse plugin if you are interested: http://svn.apache.org/repos/asf/ibatis/java/ibator/trunk/eclipse/org.apache= .ibatis.ibator.eclipse.doc/html-src/eclipseui/buildingFromSVN.html I'd not recommend the interfaces route - I went down that rabbit hole myself onetime and lived to regret it. Search/replace - tedious but effective. Jeff Butler On Wed, May 19, 2010 at 4:30 PM, Roy Bailey wrote: > Thanks Jeff, > > I've been able to follow the instructions and generate Ibatis 3 mappers f= rom > Ibator 1.2.2 build. =A0Great job. > > I've also been looking around the Ibator code because I want to use exten= ded > classes for result-sets (e.g. classes that extend the Ibator generated > classes and add derived methods and/or nice toString() etc.). =A0Easiest = way > seems to be to search/replace the code generated with different package, > where I define the extended versions. =A0Another thought was to generate/= use > interfaces with all the getter/setter type methods, as this would allow f= or > other classes to be passed to native Ibator mappers instead of forcing th= e > creation/population of Ibator concrete classes. =A0Low priority, but any > suggestions or thoughts? > > regards... > Roy > > > On 10/05/2010 22:43, Jeff Butler wrote: >> >> "stable" is strictly in the opinion of the user :) =A0I've been using it >> for many weeks and it seems stable to me. >> >> Honestly, I don't know when I'll get to publishing it. =A0Whenever I >> give a date, I miss it by a mile - for lots of reasons, mainly that it >> takes more time than I seem to have. >> >> It's very easy to build yourself with Maven. =A0I wrote some directions >> here: >> >> >> http://svn.apache.org/repos/asf/ibatis/java/ibator/trunk/core/ibator-cor= e/doc/html/reference/building.html >> >> Jeff Butler >> >> >> >> On Mon, May 10, 2010 at 4:31 PM, Roy Bailey =A0wrot= e: >> >>> >>> Any idea when a version of Ibator for iBatis 3 will be ready for >>> download? >>> >>> I'd be really interested in stable milestone of the ibator to go with t= he >>> testing of iBatis 3, especially as I'm starting to spend a lot of time = on >>> basic table crud. >>> >>> thanks...Roy >>> P.S. I don't use maven, but if the instructions are simple I can give i= t >>> a >>> go. >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org >>> For additional commands, e-mail: user-java-help@ibatis.apache.org >>> >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org >> For additional commands, e-mail: user-java-help@ibatis.apache.org >> >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org > For additional commands, e-mail: user-java-help@ibatis.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org For additional commands, e-mail: user-java-help@ibatis.apache.org