just for anyone who ended up here because they're new to mybatis
http://www.mybatis.org/core/configuration.html
http://www.mybatis.org/mybatis-3/configuration.html
in the config file mappers section
this will have you up and running with a config.xml and annotated interfaces