RE: iBATIS 3.0 and Spring 2.5 integration

2009-08-14 Thread Poitras Christian
Thanks. I am looking forward to see Spring support iBATIS 3.0. I've created my own classes to support Spring's transaction. I've included them in this email if it can help someone. Configuration in Spring context. Configuration f

Re: iBatis 3.x.x - documentation error ?

2009-08-14 Thread Clinton Begin
LOL... no need to apologize. That was very quick. Thanks! On Fri, Aug 14, 2009 at 12:13 PM, Poitras Christian wrote: > I've created a test case too quickly... > Next time, I'll get the source from trunk to add a test. > > Thanks! > Christian > > -Original Message- > From: Clinton Begin [m

Re: iBATIS 3.0 and Spring 2.5 integration

2009-08-14 Thread Clinton Begin
Whoops, pushed send too fast... one of my primary design goals for iBATIS 3.0 was to "be a better bean" for Spring. The configuration is a lot more flexible, a lot less assuming and there are plenty of candidate interfaces for Spring to choose from, to inject into your beans. Clinton On Fri, Aug

Re: iBATIS 3.0 and Spring 2.5 integration

2009-08-14 Thread Clinton Begin
Awesome! On Fri, Aug 14, 2009 at 12:14 PM, Gabriel Axel wrote: > > Hi, > > I opened a JIRA request to add Spring support for iBatis 3 : > http://jira.springframework.org/browse/SPR-5991 > > I also implemented a very simple bean factory to do this and attached it to > the request. > > Note: my impl

Re: iBATIS 3.0 and Spring 2.5 integration

2009-08-14 Thread Gabriel Axel
Hi, I opened a JIRA request to add Spring support for iBatis 3 : http://jira.springframework.org/browse/SPR-5991 I also implemented a very simple bean factory to do this and attached it to the request. Note: my implementation works with Spring 3.0 , but you may simple remove the generics to mak

RE: iBatis 3.x.x - documentation error ?

2009-08-14 Thread Poitras Christian
I've created a test case too quickly... Next time, I'll get the source from trunk to add a test. Thanks! Christian -Original Message- From: Clinton Begin [mailto:clinton.be...@gmail.com] Sent: Friday, August 14, 2009 2:10 PM To: user-java@ibatis.apache.org Subject: Re: iBatis 3.x.x - docu

RE: iBatis 3.x.x - documentation error ?

2009-08-14 Thread Poitras Christian
Done. https://issues.apache.org/jira/browse/IBATIS-625 Christian -Original Message- From: Poitras Christian [mailto:christian.poit...@ircm.qc.ca] Sent: Friday, August 14, 2009 1:39 PM To: 'user-java@ibatis.apache.org' Subject: RE: iBatis 3.x.x - documentation error ? I will file a JIRA.

Re: iBatis 3.x.x - documentation error ?

2009-08-14 Thread Clinton Begin
Thanks! The easiest way to create a test is to check out the iBATIS source from SVN: http://svn.apache.org/repos/asf/ibatis/trunk/java/ibatis-3/ Create a descriptive subdirectory of the 'submitted' test directory: ibatis-3-core/src/test/java/org/apache/ibatis/submitted/ Create your con

RE: iBatis 3.x.x - documentation error ?

2009-08-14 Thread Poitras Christian
I will file a JIRA. I will also try to make a unit test for it. Christian -Original Message- From: Clinton Begin [mailto:clinton.be...@gmail.com] Sent: Friday, August 14, 2009 12:34 PM To: user-java@ibatis.apache.org Subject: Re: iBatis 3.x.x - documentation error ? Can one of you file a

Re: iBatis 3.x.x - documentation error ?

2009-08-14 Thread Clinton Begin
Can one of you file a Jira ticket with a description and a failing unit test attached if possible? Thanks much! 2009/8/14 Erdem Budak : > Works fine now. Thank you. > > > From: christian.poit...@ircm.qc.ca > To: user-java@ibatis.apache.org > Date: Fri, 14 Aug 2009

Re: iBATIS 3.0 and Spring 2.5 integration

2009-08-14 Thread Clinton Begin
Nope. In fact the compat library is not a supported library at this time. It was primarily created to port the v2 unit tests to ibatis 3, to ensure that we covered all of the known cases that iBATIS has learned abut over the last 7 years. I'm not sure a compatibility layer is a good idea this tim

iBATIS 3.0 and Spring 2.5 integration

2009-08-14 Thread Zhubin Salehi
So here comes "Mr. Attitude" again: I was wondering if iBATIS 3.0 is supposed to work with Spring 2.5 through ibatis-compat library or not. I get a NoClassDefFoundError exception when I try to run my application on Tomcat 6: java.lang.NoClassDefFoundError: com/ibatis/common/xml/NodeletException

RE: iBatis 3.x.x - documentation error ?

2009-08-14 Thread Erdem Budak
Works fine now. Thank you. From: christian.poit...@ircm.qc.ca To: user-java@ibatis.apache.org Date: Fri, 14 Aug 2009 09:11:03 -0400 Subject: RE: iBatis 3.x.x - documentation error ? When I tried iBATIS 3, I've done like you naming my interface and my xml with the same name. Don't do th

RE: iBatis 3.x.x - documentation error ?

2009-08-14 Thread Poitras Christian
When I tried iBATIS 3, I've done like you naming my interface and my xml with the same name. Don't do that, iBATIS will throw an exception like yours. You should name your interface UserMapper.java and your xml User.xml. Make sure your namespace in User.xml points to your UserMapper interface. I

RE: iBatis 3.x.x - documentation error ?

2009-08-14 Thread Erdem Budak
And what do think about the mapping class. Is something wrong with my code ? Date: Thu, 13 Aug 2009 21:34:47 -0600 Subject: Re: iBatis 3.x.x - documentation error ? From: clinton.be...@gmail.com To: user-java@ibatis.apache.org corrected. On Thu, Aug 13, 2009 at 9:22 AM, Clinton Begin wrote: Y