用mysql5.7以及以上版本的同学注意下,默认时间不能设置0000-00-00。需要执行下这两条命令:
```
SELECT @@GLOBAL.sql_mode;
SELECT @@SESSION.sql_mode;
```
```
SELECT @@GLOBAL.sql_mode;
SELECT @@SESSION.sql_mode;
```
2019-02-03
我的访问查询报错,断点不进DouserMApper接口
in context with path [] threw exception [Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.project.dao.UserDOMapper.selectByPrimaryKey] with root cause
in context with path [] threw exception [Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.project.dao.UserDOMapper.selectByPrimaryKey] with root cause
2019-02-01
我的访问查询报错,断点不进DouserMApper接口
in context with path [] threw exception [Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.project.dao.UserDOMapper.selectByPrimaryKey] with root cause
in context with path [] threw exception [Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.project.dao.UserDOMapper.selectByPrimaryKey] with root cause
2019-02-01