Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 50251 invoked from network); 16 Sep 2008 05:51:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Sep 2008 05:51:32 -0000 Received: (qmail 51821 invoked by uid 500); 16 Sep 2008 05:51:22 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 51805 invoked by uid 500); 16 Sep 2008 05:51:22 -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 51794 invoked by uid 99); 16 Sep 2008 05:51:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Sep 2008 22:51:22 -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 paulski82@hotmail.com designates 65.54.246.151 as permitted sender) Received: from [65.54.246.151] (HELO bay0-omc2-s15.bay0.hotmail.com) (65.54.246.151) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Sep 2008 05:50:21 +0000 Received: from BAY127-W17 ([65.55.132.52]) by bay0-omc2-s15.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 15 Sep 2008 22:50:32 -0700 Message-ID: X-Originating-IP: [131.181.251.67] From: Paul Ski To: Subject: RE: java.lang.InstantiationException using Ibatis DAO Date: Tue, 16 Sep 2008 16:20:32 +1030 Importance: Normal In-Reply-To: <50CA25BD6EEA954FA592C097399942E319B54001@CM1.wis.local> References: <50CA25BD6EEA954FA592C097399942E319B53E60@CM1.wis.local> <50CA25BD6EEA954FA592C097399942E319B53E70@CM1.wis.local> <50CA25BD6EEA954FA592C097399942E319B53E74@CM1.wis.local> <50CA25BD6EEA954FA592C097399942E319B53ED2@CM1.wis.local> <50CA25BD6EEA954FA592C097399942E319B54001@CM1.wis.local> Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 16 Sep 2008 05:50:32.0450 (UTC) FILETIME=[21C52E20:01C917C0] X-Virus-Checked: Checked by ClamAV on apache.org Done. http://opensource.atlassian.com/confluence/oss/x/HwApAQ Hope that is what you are after. Thanks for you help. :-) Paul ________________________________ > Subject: RE: java.lang.InstantiationException using Ibatis DAO > Date: Mon=2C 15 Sep 2008 18:56:29 +0200 > From: n.beekman@wis.nl > To: user-java@ibatis.apache.org >=20 >=20 > At least I got that part right. I=92m glad you resolved the issue. You mi= ght want to document this on the wiki=2C it could be of help to others >=20 >=20 >=20 > Niels >=20 > ________________________________ >=20 > From: Paul Ski [mailto:paulski82@hotmail.com] > Sent: Monday=2C September 15=2C 2008 3:07 PM > To: user-java@ibatis.apache.org > Subject: RE: java.lang.InstantiationException using Ibatis DAO >=20 >=20 >=20 > The problem was with my Ibator config file. I changed the line from: >=20 > ---snip--- >=20 > ---snip--- >=20 > to: >=20 > ---snip--- >=20 > ---snip--- >=20 > This caused my to generate AliasesDAOImpl with the correct constructor. E= .g.: >=20 > ---snip--- > ... >=20 > public class AliasesDAOImpl extends SqlMapDaoTemplate implements AliasesD= AO > { > /** > * This method was generated by Abator for iBATIS. This method correspon= ds to the database table aliases > * @abatorgenerated Mon Sep 15 22:48:36 EST 2008 > */ > public AliasesDAOImpl ( DaoManager daoManager ) > { > super ( daoManager )=3B > } >=20 > ... > ---snip--- >=20 > Thanks=2C >=20 > Paul _________________________________________________________________ Are you paid what you're worth? Find out: SEEK Salary Centre http://a.ninemsn.com.au/b.aspx?URL=3Dhttp%3A%2F%2Fninemsn%2Eseek%2Ecom%2Eau= %2Fcareer%2Dresources%2Fsalary%2Dcentre%2F%3Ftracking%3Dsk%3Ahet%3Asc%3Anin= e%3A0%3Ahot%3Atext&_t=3D764565661&_r=3DOCT07_endtext_salary&_m=3DEXT=