![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ssm
明之晓
这个作者很懒,什么都没留下…
展开
-
The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone.
目前在学习ssm,记录自己所遇到的错误以及解决方法,留待以后查看。数据库mysql。 由于时差关系相差了八个小时所以要将时间mysql的时间修改一下,但只要电脑重启一次,那么mysql数据库也就相应的关闭了一次,对数据库的设置也就失效了。 第一种也就是重启电脑总会失效的方案: 在mysql的控制台中写写以下命令 set time_zone='+8:00'; show variables ...原创 2019-01-24 22:45:25 · 228 阅读 · 0 评论 -
Mapper动态代理
使用Mapper动态代理,我们只需要编写mapper接口(即我们常用的dao接口),并且不需要编写mapper的接口实现类,mybatis依据mapper接口和mapper.xml生成mapper接口动态代理。下面我详细说一下mapper.xml文件的设置: <mapper namespace="com.wzw.orm.UserinfoMapper">//这里的namespace指的...原创 2019-01-26 12:50:53 · 229 阅读 · 0 评论