Request for input on porting iBatis XML from 2.x to 3.0

2009-08-18 Thread Joel Barciauskas
Hey everyone, I just posted the notes that I took as I worked on porting my 2.x XML mapping and configuration files to the wiki: http://opensource.atlassian.com/confluence/oss/display/IBATIS/Porting+sqlMapConfig+and+sqlMap+XML+from+2.x+to+3.0 I canceled the port part-way through since I didn't

Re: Request for input on porting iBatis XML from 2.x to 3.0

2009-08-18 Thread Larry Meadors
Thanks for sharing! You rock. Larry On Tue, Aug 18, 2009 at 3:20 PM, Joel Barciauskasjbarciaus...@nexaweb.com wrote: Hey everyone, I just posted the notes that I took as I worked on porting my 2.x XML mapping and configuration files to the wiki:

Re: Request for input on porting iBatis XML from 2.x to 3.0

2009-08-18 Thread Nathan Maves
We actually already started the talks on how to automate this. We did this for the last major upgrade and it was a huge help. Thanks again for your notes. On Tue, Aug 18, 2009 at 3:49 PM, Larry Meadors larry.mead...@gmail.comwrote: Thanks for sharing! You rock. Larry On Tue, Aug 18,

Re: Request for input on porting iBatis XML from 2.x to 3.0

2009-08-18 Thread Trenton D. Adams
Why not just use an XSL to convert it? I've attached one that I use now and then, to spit out full SQL from a bunch of fragments, as well as output bean code. Trenton D. Adams Systems Analyst/Web Software Engineer Navy Penguins at your service! Athabasca University (780) 675-6195 :wq!

Re: Request for input on porting iBatis XML from 2.x to 3.0

2009-08-18 Thread Clinton Begin
Thanks Trenton... That's exactly how iBATIS 1 2 worked. But then I swore I'd never write XSLT again. :-) That said, if you have it, that is awesome. The approach we're looking at would be a ConfigurationWriter that took an instance of Configuration and wrote out the XML files. That way you

Re: Request for input on porting iBatis XML from 2.x to 3.0

2009-08-18 Thread Clinton Begin
PS: If we can get a good approach to converting the iBATIS 2 XML files to iBATIS 3, then I think it will be quite easy to create an iBATIS 2 Java API wrapper for iBATIS 3. That way older codebases could get away with minimal Java code changes. Cheers, Clinton On Tue, Aug 18, 2009 at 6:13 PM,

Re: Request for input on porting iBatis XML from 2.x to 3.0

2009-08-18 Thread Trenton D. Adams
Hi Clinton, - Clinton Begin clinton.be...@gmail.com wrote: From: Clinton Begin clinton.be...@gmail.com To: user-java@ibatis.apache.org, Trenton D. Adams tre...@athabascau.ca Sent: Tuesday, August 18, 2009 6:13:01 PM GMT -07:00 US/Canada Mountain Subject: Re: Request for input on porting

Re: Request for input on porting iBatis XML from 2.x to 3.0

2009-08-18 Thread Trenton D. Adams
- Clinton Begin clinton.be...@gmail.com wrote: From: Clinton Begin clinton.be...@gmail.com To: user-java@ibatis.apache.org, Trenton D. Adams tre...@athabascau.ca Sent: Tuesday, August 18, 2009 6:14:19 PM GMT -07:00 US/Canada Mountain Subject: Re: Request for input on porting iBatis XML

Re: Request for input on porting iBatis XML from 2.x to 3.0

2009-08-18 Thread Clinton Begin
Hey, I'm glad you love it so much, that way I don't have to write it. :-) Don't get me wrong, Java DOM code generally sucks too... but I'll choose my evil, and it isn't XSLT. Clinton On Tue, Aug 18, 2009 at 11:02 PM, Trenton D. Adams tre...@athabascau.cawrote: Hi Clinton, - Clinton

Re: Request for input on porting iBatis XML from 2.x to 3.0

2009-08-18 Thread Trenton D. Adams
- Clinton Begin clinton.be...@gmail.com wrote: From: Clinton Begin clinton.be...@gmail.com To: user-java@ibatis.apache.org, Trenton D. Adams tre...@athabascau.ca Sent: Tuesday, August 18, 2009 11:13:06 PM GMT -07:00 US/Canada Mountain Subject: Re: Request for input on porting iBatis