2013年7月31日

mybatis实例讲解

摘要: 1 建一个web工程或java工程,如果要整合spring,则建一个web工程,加入mybatis-3.1.1.jar 2 在src中创建一个xml文件,可以放在src目录中,也可以放在一个包中,这里放在一个包com.ibatistest.maps中,xml文件名为configuration.xml,可以自定义,任意命名内容: ... 阅读全文

posted @ 2013-07-31 10:26 青春丶冭柔情 阅读(449) 评论(0) 推荐(0) 编辑

导航