自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 收藏
  • 关注

原创 Mybatis学习总结(一)

标签 在mybatis.xml中配置 这样简化了编程,因为在实际开发中会有很多的javabean,这里只需要指定这些javabean所在的包就行了,那么默认他的别名是javabean 的首字母小写的非限定类名来作为它的别名。 如studentmapper.xml中的部分代码 select * from student where id = #{id} 标签

2017-09-20 08:44:20 359

原创 XML fragments parsed from previous mappers already contains value for com.mybatis_test.dao.StudentMa

错误提示: Exception in thread "main" java.lang.ExceptionInInitializerError at mybatis_test.main.Test1.main(Test1.java:14) Caused by: org.apache.ibatis.exceptions.PersistenceException: ### Error buildin

2017-09-19 22:56:22 1283

转载 通过MyBatis Generator快速配置Mybatis

一、MyBatis Generator   可以生成model,dao,还有mapper文件,比较方便。可以去看一下官方介绍 http://mbg.cndocs.tk/index.html 二、通过maven创建一个普通工程 三、在pom.xml中添加代码 org.mybatis.generator mybatis-gene

2017-09-19 20:01:51 349

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除