码迷,mamicode.com
首页 > 其他好文 > 详细

Mybatis工程搭建

时间:2017-10-28 16:39:53      阅读:146      评论:0      收藏:0      [点我收藏+]

标签:page   mybatis   配置   col   nbsp   ati   model   bat   XML   

工程搭建

? 1依赖包
? 2配置文件
? 2.1spring-mybatis.xml
? 2.2mybatis-config.xml自带配置文件

? 2.3 mapper(dao)对象

? 2.4 model 对象(pojo 数据库对象)

? 2.5 mapper.xml 

每次出新表的时候,都要重新创建以下对象:

? 2.3 mapper(dao)对象

? 2.4 model 对象(pojo 数据库对象)

? 2.5 mapper.xml 

Mybatis工程搭建

标签:page   mybatis   配置   col   nbsp   ati   model   bat   XML   

原文地址:http://www.cnblogs.com/cristin/p/7747137.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!