转自: http://www.cnblogs.com/yeahking/articles/2480781.html ibatis基础代码包括: 1. ibatis实例配置 一个典型的配置文件如下(具体配置项目的含义见后):