Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 52844 invoked from network); 8 Sep 2009 13:36:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Sep 2009 13:36:18 -0000 Received: (qmail 80107 invoked by uid 500); 8 Sep 2009 13:36:17 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 80089 invoked by uid 500); 8 Sep 2009 13:36:17 -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 80081 invoked by uid 99); 8 Sep 2009 13:36:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 13:36:17 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of clinton.begin@gmail.com designates 209.85.212.203 as permitted sender) Received: from [209.85.212.203] (HELO mail-vw0-f203.google.com) (209.85.212.203) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2009 13:36:07 +0000 Received: by vws41 with SMTP id 41so7766vws.4 for ; Tue, 08 Sep 2009 06:35:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=b6/+HyRXZCtRpolZTMaOmcvCGKZrZsKQXhdtV667wic=; b=xz8MU2MCPpH56glpqfXkuOu84TZwVdftrzoL3w6xffz8cNSle1QK7mDPTAkJ96tNB+ rVITX7IrMUiptwwp0LZ1+tHvJ/M40jAFEbouW6H4g0Bma623VX6Ns6ykfHmJH9rBKPB8 pEVQIZ3OIlTiCsPmztuuT9D3JZgre9l6j24b4= 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; b=keQOjv7arVoHt9zsvPoVaPHoeXeVUp4+JSzEeN+6gFfEHm+ENkcML7xIhu6cVejIMo YYjMO3ENe0tG2M4BEdQmtDtWRCWLL38YUxHOzcESaYl/GtP1K1pPVy8UZrLt+MuxnISl ejYPvoMLuLO+jRuUeFZ4/tKjsJFqdSlzTjKlU= MIME-Version: 1.0 Received: by 10.220.88.201 with SMTP id b9mr272211vcm.106.1252416944378; Tue, 08 Sep 2009 06:35:44 -0700 (PDT) In-Reply-To: References: <25341397.post@talk.nabble.com> <25345367.post@talk.nabble.com> Date: Tue, 8 Sep 2009 07:35:44 -0600 Message-ID: <16178eb10909080635g2421e7ecs56bdc25a66aa2aeb@mail.gmail.com> Subject: Re: Mapping new syntax From: Clinton Begin To: user-java@ibatis.apache.org Content-Type: multipart/alternative; boundary=0016363b80d81496120473110b96 X-Virus-Checked: Checked by ClamAV on apache.org --0016363b80d81496120473110b96 Content-Type: text/plain; charset=ISO-8859-1 +1 -- person with the greatest need should write this tool. Clinton On Tue, Sep 8, 2009 at 6:41 AM, Jeff Butler wrote: > You have some options... > > If iBATIS2 is working well for you, then you might decide to stay with it. > > Otherwise, you could probably write an XSL transform that would do the > migration automatically. You might spend less time writing the XSL > than on manually migrating the XML - and then you could contribute it > back to the community. > > Jeff Butler > > On Tue, Sep 8, 2009 at 7:36 AM, > faresz wrote: > > > > Yes i know but we have a huge application with thousands of queries :S > > So should we loose time by reconstructing all these queries??? > > > > > > > > > > Jeff Butler-2 wrote: > >> > >> The old syntax is gone. The new syntax is like this: > >> > >> > >> ... > >> > >> > >> iBATIS now uses OGNL for expressions - it's much more powerful than > >> the old tags. > >> > >> Jeff Butler > >> > >> > >> On Tue, Sep 8, 2009 at 2:49 AM, > >> faresz wrote: > >>> > >>> Does iBatis3 support the old syntax of iBatis 2 like if > >>> not > >>> so the migration from version 2 to 3 will affect all our > mapping/queries > >>> definitions and will cause a big overhead for the company. Is there any > >>> possibility to migrate without doing all the changes listed, or is > there > >>> any > >>> tool that will help us to minimize this overhead? > >>> -- > >>> View this message in context: > >>> http://www.nabble.com/Mapping-new-syntax-tp25341397p25341397.html > >>> Sent from the iBATIS - User - Java mailing list archive at Nabble.com. > >>> > >>> > >>> --------------------------------------------------------------------- > >>> 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 > >> > >> > >> > > > > -- > > View this message in context: > http://www.nabble.com/Mapping-new-syntax-tp25341397p25345367.html > > Sent from the iBATIS - User - Java mailing list archive at Nabble.com. > > > > > > --------------------------------------------------------------------- > > 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 > > --0016363b80d81496120473110b96 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable +1=A0 -- person with the greatest need should write this tool.

Clint= on

On Tue, Sep 8, 2009 at 6:41 AM, Jeff B= utler <jeffgb= utler@gmail.com> wrote:
You have some opt= ions...

If iBATIS2 is working well for you, then you might decide to stay with it.<= br>
Otherwise, you could probably write an XSL transform that would do the
migration automatically. =A0You might spend less time writing the XSL
than on manually migrating the XML - and then you could contribute it
back to the community.

Jeff Butler

On Tue, Sep 8, 2009 at 7:36 AM,
faresz<fares.zgheib@ibs-softsolutions.com> wrote: >
> Yes i know but we have a huge application with thousands of queries = =A0:S
> So should we loose time by reconstructing all these queries???
>
>
>
>
> Jeff Butler-2 wrote:
>>
>> The old syntax is gone. =A0The new syntax is like this:
>>
>> <if test=3D"someProperty !=3D null">
>> =A0 ...
>> </if>
>>
>> iBATIS now uses OGNL for expressions - it's much more powerful= than
>> the old tags.
>>
>> Jeff Butler
>>
>>
>> On Tue, Sep 8, 2009 at 2:49 AM,
>> faresz<fa= res.zgheib@ibs-softsolutions.com> wrote:
>>>
>>> Does iBatis3 support the old syntax of iBatis 2 like <isNot= Null.../> if
>>> not
>>> so the migration from version 2 to 3 will affect all our mappi= ng/queries
>>> definitions and will cause a big overhead for the company. Is = there any
>>> possibility to migrate without doing all the changes listed, o= r is there
>>> any
>>> tool that will help us to minimize this overhead?
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Mapping-new-syntax-= tp25341397p25341397.html
>>> Sent from the iBATIS - User - Java mailing list archive at Nab= ble.com.
>>>
>>>
>>> --------------------------------------------------------------= -------
>>> 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
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.c= om/Mapping-new-syntax-tp25341397p25345367.html
> Sent from the iBATIS - User - Java mailing list archive at Nabble.com.=
>
>
> ---------------------------------------------------------------------<= br> > 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


--0016363b80d81496120473110b96--