ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joram Barrez <joram.bar...@gmail.com>
Subject How to programmatically add an xml mapping file to a Configuration?
Date Fri, 30 Apr 2010 07:58:07 GMT
Hi group,

I know that it is possible add a Mapper class to the configuration
when programnatically creating a SqlSessionFactory:


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 mapper class). How can I
add these to a Configuration? I can't seem to find the right method.



To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
For additional commands, e-mail: user-java-help@ibatis.apache.org

View raw message