- 博客(3)
- 收藏
- 关注
原创 Mapper method 'comxx' has an unsupported return type
报错场景:在学习SpringBoot与mybatis整合的时候,对数据库的数据进行更新操作,sql执行成功,但是返回了如下的异常org.apache.ibatis.binding.BindingException: Mapper method 'com.hui.mybatisdemo.mapper.UserMapper.updatePasswordByName' has an unsuppor...
2018-12-20 21:47:12 9775 5
原创 The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized
搭建一个SpringBoot的项目,配置完jpa之后,启动项目,报了如下的错误:java.sql.SQLException: The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone. You must configure either the server or...
2018-12-13 20:17:23 269
原创 JPA事务问题Executing an update delete query
报错的异常场景SpringBoot的JPA进行修改操作public interface GirlService extends JpaRepository<LitterGirl,Integer>{ @Modifying @Query("update LitterGirl g set g.name = ?1 where g.id = ?2") int modi...
2018-12-13 20:09:22 1495
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人