代码改变世界

阅读排行榜

Mybaits-plus-注解和查询

2022-08-29 10:44 by ly772186472, 53 阅读, 收藏,
摘要: 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 阅读全文

搜搜引擎优化

2022-09-10 07:51 by ly772186472, 47 阅读, 收藏,
摘要: 单点登录: 一、用户身份认证 1、单一服务器模式 一般过程如下: 用户向服务器发送用户名和密码。 验证服务器后,相关数据(如用户名,用户角色等)将保存在当前会话(session)中。 服务器向用户返回session_id,session信息都会写入到用户的Cookie。 用户的每个后续请求都将通过在 阅读全文
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 27 下一页