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


Regards,

Joram

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

Reply via email to