摘要:
Springboot数据库连接:mysql 8及以上版本: com.mysql.cj.jdbc.Driver 以下版本:去掉cj MyBatisPlus Annotation( 注解) extension(扩展) generation(代码生产器) 运行原理: 首先通过 Entity(实体)也就是平 阅读全文
阅读排行榜
常见问题两个
2023-07-31 14:35 by ly772186472, 51 阅读, 收藏,
摘要:
问题一: BeanUtils 有时候有的字段没有copy过去的原因分析 原因: 1、在 Spring 的 BeanUtils.copyProperties 方法中,并没有内置的类型转换功能。该方法主要用于将一个对象的属性值复制到另一个对象中,属性值的复制是按照字段名进行匹配的。 如果源对象的字段类型 阅读全文
Command line is too long. Shorten command line for TestMain or also for Application default configur
2023-01-16 08:40 by ly772186472, 50 阅读, 收藏,
摘要:
idea运行项目报错:Command line is too long. Shorten command line for TestMain or also for Application default configuration. 解决方法如下: 阅读全文
分布式部署项目-一键生成代码出错
2022-08-31 22:08 by ly772186472, 48 阅读, 收藏,
摘要:
Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered 阅读全文
浙公网安备 33010602011771号