![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mybatis
·小怪兽·
懂得越多,不懂的越多
展开
-
Unknown column ‘good_type_id‘ in ‘field list‘] with root cause错误
因为在创建good表的时候有一个属性goodTypeId,在数据库中也是一样,在我们使用mybatis plus的时候它的自动生成SQL会把我们的数据格式改成下划线风格(good_type_id) 所以只需在good实体表中修改为 @TableField("goodTypeId") private String goodTypeId; ...原创 2019-10-14 09:34:24 · 1726 阅读 · 0 评论 -
spring-boot-shiro-mybatis运行时报数据库连接错误
java.sql.SQLException: The server time zone value ‘�й���ʱ��’ is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configu...原创 2019-09-30 15:02:51 · 578 阅读 · 1 评论