SpringBoot
chen先生丶
这个作者很懒,什么都没留下…
展开
-
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 · 1477 阅读 · 0 评论 -
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 · 260 阅读 · 0 评论 -
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 · 9733 阅读 · 5 评论