mybatis
文章平均质量分 82
FightingITPanda
don't talk,show me the code
展开
-
Mybatis代码自动生成 - generatorConfig.xml -so so so so ..easy
二话不说,开炸~ 准备工作 数据库,表 新建个spring boot项目 pom.xml 中引入 mybatis-generator 插件 准备生成器配置文件 generatorConfig.xml 昨天下班突然。。。今天继续。。。 以上准备够用,开始吧 1、准备库-panda_local、表-panda ,介么简单,不说了~ 新建个spring boot项目 pom.xml 中引入 mybatis-generator 插件 准备生成器配置文件 generatorConfig.xml.原创 2021-12-30 10:18:10 · 559 阅读 · 0 评论 -
Mybatis : Cause: java.sql.SQLException: Zero date value prohibited
完整报错如下: Caused by: org.springframework.dao.TransientDataAccessResourceException: Error attempting to get column 'receipt_time' from result set. Cause: java.sql.SQLException: Zero date value prohibited ; Zero date value prohibited; nested exception is java原创 2020-11-11 15:27:24 · 560 阅读 · 1 评论