You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by An...@SV-Informatik.de on 2006/04/27 16:18:26 UTC

iBATIS-131 Combatibility JAVA1.5 / tomcat 5.5

Hello,

I have a question about iBATIS version 1.3.1.
We use it with JDK1.3.1, tomcat 5.0.28 and we want to update to JDK5.0,
tomcat 5.5.
Are there known problems with this update?

Alternative: What must we do to migrate to the newest version of iBATIS ?
I`ve heard that the XML-Syntax of the  XML-Descriptor has changed ...
Exists a automated mechanism to migrate / test the XML-descriptors ?

many thanks and greetings,
Andre


Re: iBATIS-131 Combatibility JAVA1.5 / tomcat 5.5

Posted by Nathan Maves <Na...@Sun.COM>.
Let me clairify myself....

When I state that iBATIS is compatible with Java 1.5 I mean that it  
will run fine with that JRE.  The framework itself does not support  
the new features of Java 1.5.  About the closest you will get is to  
pass an int to an iBatis method and it will convert it to an Integer  
for you.  Generics are not yet supported.


On Apr 27, 2006, at 8:34 AM, Nathan Maves wrote:

> Andre,
>
> iBATIS 2.x is fully compatible with Java 1.5 and Tomcat 5.5.
>
> You will also find com/ibatis/db/sqlmap/upgrade/ConvertTask.class,  
> which is that ant task that will convert your maps to the 2.0  
> syntax and structure.  The class is located in lib/1-x- 
> Compatibility/ibatis-sqlmap-1-x.jar of the distribution download.
>
> Nathan
>
> On Apr 27, 2006, at 8:18 AM, Andre.Gerhartz@SV-Informatik.de wrote:
>
>> Hello,
>>
>> I have a question about iBATIS version 1.3.1.
>> We use it with JDK1.3.1, tomcat 5.0.28 and we want to update to  
>> JDK5.0,
>> tomcat 5.5.
>> Are there known problems with this update?
>>
>> Alternative: What must we do to migrate to the newest version of  
>> iBATIS ?
>> I`ve heard that the XML-Syntax of the  XML-Descriptor has changed ...
>> Exists a automated mechanism to migrate / test the XML-descriptors ?
>>
>> many thanks and greetings,
>> Andre
>>
>


Re: iBATIS-131 Combatibility JAVA1.5 / tomcat 5.5

Posted by Nathan Maves <Na...@Sun.COM>.
Andre,

iBATIS 2.x is fully compatible with Java 1.5 and Tomcat 5.5.

You will also find com/ibatis/db/sqlmap/upgrade/ConvertTask.class,  
which is that ant task that will convert your maps to the 2.0 syntax  
and structure.  The class is located in lib/1-x-Compatibility/ibatis- 
sqlmap-1-x.jar of the distribution download.

Nathan

On Apr 27, 2006, at 8:18 AM, Andre.Gerhartz@SV-Informatik.de wrote:

> Hello,
>
> I have a question about iBATIS version 1.3.1.
> We use it with JDK1.3.1, tomcat 5.0.28 and we want to update to  
> JDK5.0,
> tomcat 5.5.
> Are there known problems with this update?
>
> Alternative: What must we do to migrate to the newest version of  
> iBATIS ?
> I`ve heard that the XML-Syntax of the  XML-Descriptor has changed ...
> Exists a automated mechanism to migrate / test the XML-descriptors ?
>
> many thanks and greetings,
> Andre
>


Re: iBATIS-131 Combatibility JAVA1.5 / tomcat 5.5

Posted by Nathan Maves <Na...@Sun.COM>.
That is something that you must figure out. One that that I can tell  
you is that your current code (ibatis 1.x) should work fine with java  
1.5 and tomcat 5.5.

Give that a shot and see if everything works before you migrate to  
ibatis 2.x

Nathan

On Apr 28, 2006, at 12:53 AM, Andre.Gerhartz@SV-Informatik.de wrote:

> Hi Nathan,
>
> Thanks for your fast answer(s). These are good news.
> What i must decide is if we migrate to iBATIS-2.x or not.
>
> How reliable works the Ant-Task to convert the XML-Descriptors ?
>
> We have approx. 200 XML.Descriptors to convert. Are there JAVA-Code  
> changes
> needed if we
> migrate to 2.x ?
>
> I must evaluate the costs/risks of the migration process. Are there  
> known
> side-effects ? (We run a Webapplikation
> using the struts-framework ...)
>
> many thanks and greetings,
> Andre
>
>
>
>
>              Nathan Maves
>              <Nathan.Maves@Sun
>              .COM>                                                     
>   An
>              Gesendet von:              user-java@ibatis.apache.org
>               
> Nathan.Maves@Sun.                                       Kopie
>              COM
>                                                                      T 
> hema
>                                         Re: iBATIS-131 Combatibility
>              27.04.2006 21:47           JAVA1.5 / tomcat 5.5
>
>
>               Bitte antworten
>                     an
>              user-java@ibatis.
>                 apache.org
>
>
>
>
>
>
> Well it appears that I misread your question. The answer is still the
> same.  You can you both 1.x and 2.x with Java 1.5 and Tomcat 5.5
>
> Nathan
>
> On Apr 27, 2006, at 8:18 AM, Andre.Gerhartz@SV-Informatik.de wrote:
>
>> Hello,
>>
>> I have a question about iBATIS version 1.3.1.
>> We use it with JDK1.3.1, tomcat 5.0.28 and we want to update to
>> JDK5.0,
>> tomcat 5.5.
>> Are there known problems with this update?
>>
>> Alternative: What must we do to migrate to the newest version of
>> iBATIS ?
>> I`ve heard that the XML-Syntax of the  XML-Descriptor has changed ...
>> Exists a automated mechanism to migrate / test the XML-descriptors ?
>>
>> many thanks and greetings,
>> Andre
>>
>
>
>


Re: Abator generator for updates on only present fields in the update object

Posted by Jeff Butler <je...@gmail.com>.
This is on my short list of things to do for Abator, but I haven't started
on it yet.

Jeff Butler



On 7/27/06, Jared Blitzstein <ma...@blitzstein.net> wrote:
>
> Is there something in the works, or has anyone extended abator, for
> update statements that only update fields present in the object. Like
> if I only want to change a users lastName, I would just setup the
> lastName and the primaryKey in my object, then issue the update?
>

Abator generator for updates on only present fields in the update object

Posted by Jared Blitzstein <ma...@blitzstein.net>.
Is there something in the works, or has anyone extended abator, for  
update statements that only update fields present in the object. Like  
if I only want to change a users lastName, I would just setup the  
lastName and the primaryKey in my object, then issue the update?

Re: Re: iBATIS-131 Combatibility JAVA1.5 / tomcat 5.5

Posted by An...@SV-Informatik.de.
Hi Nathan,

Thanks for your fast answer(s). These are good news.
What i must decide is if we migrate to iBATIS-2.x or not.

How reliable works the Ant-Task to convert the XML-Descriptors ?

We have approx. 200 XML.Descriptors to convert. Are there JAVA-Code changes
needed if we
migrate to 2.x ?

I must evaluate the costs/risks of the migration process. Are there known
side-effects ? (We run a Webapplikation
using the struts-framework ...)

many thanks and greetings,
Andre



                                                                           
             Nathan Maves                                                  
             <Nathan.Maves@Sun                                             
             .COM>                                                      An 
             Gesendet von:              user-java@ibatis.apache.org        
             Nathan.Maves@Sun.                                       Kopie 
             COM                                                           
                                                                     Thema 
                                        Re: iBATIS-131 Combatibility       
             27.04.2006 21:47           JAVA1.5 / tomcat 5.5               
                                                                           
                                                                           
              Bitte antworten                                              
                    an                                                     
             user-java@ibatis.                                             
                apache.org                                                 
                                                                           
                                                                           




Well it appears that I misread your question. The answer is still the
same.  You can you both 1.x and 2.x with Java 1.5 and Tomcat 5.5

Nathan

On Apr 27, 2006, at 8:18 AM, Andre.Gerhartz@SV-Informatik.de wrote:

> Hello,
>
> I have a question about iBATIS version 1.3.1.
> We use it with JDK1.3.1, tomcat 5.0.28 and we want to update to
> JDK5.0,
> tomcat 5.5.
> Are there known problems with this update?
>
> Alternative: What must we do to migrate to the newest version of
> iBATIS ?
> I`ve heard that the XML-Syntax of the  XML-Descriptor has changed ...
> Exists a automated mechanism to migrate / test the XML-descriptors ?
>
> many thanks and greetings,
> Andre
>




Re: iBATIS-131 Combatibility JAVA1.5 / tomcat 5.5

Posted by Nathan Maves <Na...@Sun.COM>.
Well it appears that I misread your question. The answer is still the  
same.  You can you both 1.x and 2.x with Java 1.5 and Tomcat 5.5

Nathan

On Apr 27, 2006, at 8:18 AM, Andre.Gerhartz@SV-Informatik.de wrote:

> Hello,
>
> I have a question about iBATIS version 1.3.1.
> We use it with JDK1.3.1, tomcat 5.0.28 and we want to update to  
> JDK5.0,
> tomcat 5.5.
> Are there known problems with this update?
>
> Alternative: What must we do to migrate to the newest version of  
> iBATIS ?
> I`ve heard that the XML-Syntax of the  XML-Descriptor has changed ...
> Exists a automated mechanism to migrate / test the XML-descriptors ?
>
> many thanks and greetings,
> Andre
>