ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Butler <jeffgbut...@gmail.com>
Subject Re: Mapping new syntax
Date Tue, 08 Sep 2009 12:41:20 GMT
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<fares.zgheib@ibs-softsolutions.com> 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:
>>
>> <if test="someProperty != null">
>>   ...
>> </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<fares.zgheib@ibs-softsolutions.com> wrote:
>>>
>>> Does iBatis3 support the old syntax of iBatis 2 like <isNotNull.../> 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


Mime
View raw message