How to programmatically add an xml mapping file to a Configuration?

2010-04-30 Thread Joram Barrez
Hi group, I know that it is possible add a Mapper class to the configuration when programnatically creating a SqlSessionFactory: configuration.addMapper(MyMapper.class); As stated in the docs, this will also look for a MyMapper.xml on the classpath. However, I only have XML mapping files (so no

Re: How to programmatically add an xml mapping file to a Configuration?

2010-04-30 Thread Martin Ellis
On 30 April 2010 08:58, Joram Barrez wrote: > However, I only have XML mapping files (so no mapper class). How can I > add these to a Configuration? I can't seem to find the right method. I've found this in my code, which seems a little complicated, but it gets the job done. It's code I wrote whe

iBatis Wiki page down?

2010-04-30 Thread Jon Webb
Is it just me, or is the iBatis Wiki/FAQ page always down? Whenever I go to http://opensource.atlassian.com/confluence/oss/display/IBATIS/Home I get a blank page. Or is my company's firewall interfering?

Re: Problem accessing List instance property via

2010-04-30 Thread mukhi
did you check the type of value you are passing to the list? you may be passing string type values to the list. devver wrote: > > Thanks for the reply (sorry: managed to reply twice). It's IB v2. > An older version of IB sounds feasibly yet we have sql maps that use > similar constructs, i.e n

Re: iBatis Wiki page down?

2010-04-30 Thread Larry Meadors
Yeah, it's humped. Apparently there was an "upgrade". :/ Larry On Fri, Apr 30, 2010 at 12:39 PM, Jon Webb wrote: > Is it just me, or is the iBatis Wiki/FAQ page always down? Whenever I go to > http://opensource.atlassian.com/confluence/oss/display/IBATIS/Home I get a > blank page. Or is my comp

Re: iBatis Wiki page down?

2010-04-30 Thread Clinton Begin
It was moved to http://www.apachebookstore.com/confluence/oss/display/IBATIS/Home without our knowledge. I tried to update the website last night, but people.apache.org was also having routing issues. I'll try to get the new links up tonight. In the mean time, I'll send this out as a broadcast a

[ANNOUNCEMENT] iBATIS Wiki Moved

2010-04-30 Thread Clinton Begin
The iBATIS Wiki has moved. It was not moved by us, or with our knowledge, but we apologize for the inconvenience anyway. The new link is: http://www.apachebookstore.com/confluence/oss/display/IBATIS/Home I will update the links on the website ASAP, but people.apache.org was also unreachable la