我的github
摘要: 数据库Mysql字段名为ClientIP,项目定义实体字段ClientIP通过@Column(name = “ClientIP”)来标识实体类中属性与数据表中字段的对应关系项目启动时发现报missing column [client_ip],对比了下字段发现应该是驼峰命名法则字段转换为了“_”。通过 阅读全文
posted @ 2022-08-30 23:37 XiaoNiuFeiTian 阅读(106) 评论(0) 推荐(0)
摘要: 先写入sql语句,然后点击执行。 参考:https://blog.51cto.com/u_14558366/5178752 阅读全文
posted @ 2022-08-30 15:56 XiaoNiuFeiTian 阅读(27) 评论(0) 推荐(0)
摘要: @RestController注解,代表返回的是json格式的数据,这个注解是Spring4之后新加的注解,原来返回json格式的数据需要@ResponseBody配合@Controller一起使用; 参考:https://blog.csdn.net/hjfcgt123/article/detail 阅读全文
posted @ 2022-08-30 15:36 XiaoNiuFeiTian 阅读(44) 评论(0) 推荐(0)
摘要: 解决方法1:https://blog.csdn.net/m0_57643051/article/details/124667221 https://stackoverflow.com/questions/70461877/azure-pipeline-failing-with-could-not-r 阅读全文
posted @ 2022-08-30 14:41 XiaoNiuFeiTian 阅读(1877) 评论(0) 推荐(0)
摘要: @Transactional注解使用的正确姿势:https://zhuanlan.zhihu.com/p/523850944 repository标识存储类 import org.springframework.stereotype.Repository; import org.springfram 阅读全文
posted @ 2022-08-30 09:43 XiaoNiuFeiTian 阅读(195) 评论(0) 推荐(0)