Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 76728 invoked from network); 10 Jan 2009 01:45:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Jan 2009 01:45:51 -0000 Received: (qmail 59557 invoked by uid 500); 10 Jan 2009 01:45:45 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 59540 invoked by uid 500); 10 Jan 2009 01:45:45 -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 59531 invoked by uid 99); 10 Jan 2009 01:45:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2009 17:45:45 -0800 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: local policy) Received: from [164.156.184.30] (HELO Mail01.state.pa.us) (164.156.184.30) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Jan 2009 01:45:36 +0000 Received: from ENHBGHTS02.PA.LCL (206.224.21.43) by ENCTCAPP221.PA.LCL (172.19.222.35) with Microsoft SMTP Server (TLS) id 8.1.291.1; Fri, 9 Jan 2009 20:43:57 -0500 Received: from ENHBGMBX03.PA.LCL ([206.224.21.40]) by ENHBGHTS02.PA.LCL ([206.224.21.43]) with mapi; Fri, 9 Jan 2009 20:45:14 -0500 From: "Givler, Eric" To: "user-java@ibatis.apache.org" Date: Fri, 9 Jan 2009 20:41:43 -0500 Subject: iBator to generate code/xml files for stored procs? Thread-Topic: iBator to generate code/xml files for stored procs? Thread-Index: AQHJcsUUkb27sjPs7UWb/KNJ9NxSqQ== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org I didn't see any docs in Ibator about generating code based on stored funct= ions/procs or packages Is that something that is planned in a future relea= se? Are there any options I can use now? What if I wanted all my DML (exc= ept select) to go through stored procs, or possibly even have my select ret= urned via REFCURSOR, would I have to use my own homegrown xml files (mappin= gs), beans and DAOs? Sorry for all the questions, but we're very stored proc oriented and I was = trying to see how I could eliminate the drudgery of creating the model with= iBATIS. It can create the beans, XML files and DAOs as long as I allow th= e full CRUD Against the tables, but that's now always the case. I like the= idea of the selective updates, deletes and inserts - I'll definitely be ab= le to use that in some apps. Thanks, Eric