mybetis中的代理模式
摘要:
//mybetis中的配置 <mappers><mapper resource="cn/hd/sale/mapper/SalesbeanMapper.xml"/> </mappers> //如果对象类中的属性字段和数据库中的字段不是一致的时候,一定要用resultMap将他们一一对应起来,否则就算是 阅读全文
posted @ 2016-12-03 11:18 Joyous丶 阅读(347) 评论(0) 推荐(0) 编辑