摘要: 在mapper代理的开发中,程序员需要遵守一些规范,mybatis才能实现mapper接口的代理对象。 它的规范如下: mapper.xml的namespace要写所映射接口的全称类名。 mapper.xml中的每个statement的id要和接口方法的方法名相同 mapper.xml中定义的每个s 阅读全文
posted @ 2016-12-15 08:50 ewwwe01 阅读(9004) 评论(0) 推荐(0)