- 在JPA中提供了很方便的分页功能,那就是Pageable(org.springframework.data.domain.Pageable)以及它的实现类PageRequest(org.springframework.data.domain.PageRequest),详细的可以见示例代码。 1、改变CustomerRepository... 在JPA中提供了很方便的分页功能,那就是Pageable(org.springframework.data.domain.Pageable)以及它的实现类PageRequest(org.springframework.data.domain.PageRequest),详细的可以见示例代码。 1、改变CustomerRepository...
- 百度发现有个filter 方法 SimplePropertyPreFilter SimplePropertyPreFilter filter = new SimplePropertyPreFilter(); filter.getExcludes().add("name"); filter.getExcludes().a... 百度发现有个filter 方法 SimplePropertyPreFilter SimplePropertyPreFilter filter = new SimplePropertyPreFilter(); filter.getExcludes().add("name"); filter.getExcludes().a...
- SpringBoot多文件上传 一、文件上传 @PostMapping("/fileUpload") public ResponseTemplate handleFormUploadFile(... SpringBoot多文件上传 一、文件上传 @PostMapping("/fileUpload") public ResponseTemplate handleFormUploadFile(...
- SpringBoot集成redis和redis集群 pom <!-- redis --> <!-- <dependency>--> ... SpringBoot集成redis和redis集群 pom <!-- redis --> <!-- <dependency>--> ...
- 网上找了很多文章但是都是excel下载后弹框提示格式损害,打开乱码,后来找到一篇文章,因为excel模板文件是放在resource下面的,maven打包时进行了压缩,导致下载的excel文件格式损害。 关键代码: <plugin> <groupId>org.apache.ma... 网上找了很多文章但是都是excel下载后弹框提示格式损害,打开乱码,后来找到一篇文章,因为excel模板文件是放在resource下面的,maven打包时进行了压缩,导致下载的excel文件格式损害。 关键代码: <plugin> <groupId>org.apache.ma...
- SpringBoot 使用 Elastic-Job分布式任务调度框架 一、Elastic-Job简介 ElasticJob 是一个分布式调度解决方案,由两个独立的项目组成,即 ElasticJob-L... SpringBoot 使用 Elastic-Job分布式任务调度框架 一、Elastic-Job简介 ElasticJob 是一个分布式调度解决方案,由两个独立的项目组成,即 ElasticJob-L...
- Spring Boot 2.3.0 已经发布,此版本主要更新内容包括: 依赖升级 新版本核心组件依赖升级 Spring Data Neumann Spring HATEOAS 1.1 Spring Integration 5.3 Spring Kafka 2.5 Spring Securit... Spring Boot 2.3.0 已经发布,此版本主要更新内容包括: 依赖升级 新版本核心组件依赖升级 Spring Data Neumann Spring HATEOAS 1.1 Spring Integration 5.3 Spring Kafka 2.5 Spring Securit...
- SpringBoot多数据源+JTA分布式事物配置 一、SpringBoot多数据源 1. pom <!-- Mybatis --> <dependency&g... SpringBoot多数据源+JTA分布式事物配置 一、SpringBoot多数据源 1. pom <!-- Mybatis --> <dependency&g...
- @ConditionalOnBean:当容器里有指定Bean的条件下 @ConditionalOnClass:当类路径下有指定类的条件下 @ConditionalOnExpression:基于SpEL表达式作为判断条件 @ConditionalOnJava:基于JV版本作为判断条件 @ConditionalOnJndi:在JND... @ConditionalOnBean:当容器里有指定Bean的条件下 @ConditionalOnClass:当类路径下有指定类的条件下 @ConditionalOnExpression:基于SpEL表达式作为判断条件 @ConditionalOnJava:基于JV版本作为判断条件 @ConditionalOnJndi:在JND...
- Mapping Dozer vs MapStruct POSTED BY MARIUSZ WYSZOMIERSKI In multi-tier applications there is often a need for mapping between two data models. In this ... Mapping Dozer vs MapStruct POSTED BY MARIUSZ WYSZOMIERSKI In multi-tier applications there is often a need for mapping between two data models. In this ...
- URL url = InternationalResouces.class.getProtectionDomain().getCodeSource().getLocation(); JarFile jarFile = new JarFile(url.getFile()); Enumeration<JarEntry> enum... URL url = InternationalResouces.class.getProtectionDomain().getCodeSource().getLocation(); JarFile jarFile = new JarFile(url.getFile()); Enumeration<JarEntry> enum...
- SpringBoot WebFlux响应式编程 一、简介 Spring WebFlux是Spring Framework 5.0中引入的新的反应式Web框架。 与Spring MVC不同,它不需要Se... SpringBoot WebFlux响应式编程 一、简介 Spring WebFlux是Spring Framework 5.0中引入的新的反应式Web框架。 与Spring MVC不同,它不需要Se...
- 05:15:55.344 sms [asyncTaskExecutor-1] ERROR cc.mrbird.common.util.AddressUtils 54 - 获取地址信息异常:{}java.io.FileNotFoundException: class path resource [ip2region/ip2region.d... 05:15:55.344 sms [asyncTaskExecutor-1] ERROR cc.mrbird.common.util.AddressUtils 54 - 获取地址信息异常:{}java.io.FileNotFoundException: class path resource [ip2region/ip2region.d...
- 一、 MongoDB 关于MongoDB的介绍和基本操作及副本集群搭建可先参考下面我的博客: MongoDB副本集 集群搭建: https://blog.csdn.net/qq_43692950... 一、 MongoDB 关于MongoDB的介绍和基本操作及副本集群搭建可先参考下面我的博客: MongoDB副本集 集群搭建: https://blog.csdn.net/qq_43692950...
- Springboot 升级2.0 1、There is no PasswordEncoder mapped for the id "null" 2018-06-12 11:23:28.247 ERROR 3312 --- [nio-8080-exec-9] o.a.c.c.C.[.[.[/].[dispatcherSer... Springboot 升级2.0 1、There is no PasswordEncoder mapped for the id "null" 2018-06-12 11:23:28.247 ERROR 3312 --- [nio-8080-exec-9] o.a.c.c.C.[.[.[/].[dispatcherSer...
上滑加载中
推荐直播
-
Skill 构建 × 智能创作:基于华为云码道的 AI 内容生产提效方案2026/03/25 周三 19:00-20:00
余伟,华为云软件研发工程师/万邵业(万少),华为云HCDE开发者专家
本次直播带来两大实战:华为云码道 Skill-Creator 手把手搭建专属知识库 Skill;如何用码道提效 OpenClaw 小说文本,打造从大纲到成稿的 AI 原创小说全链路。技术干货 + OPC创作思路,一次讲透!
回顾中 -
码道新技能,AI 新生产力——从自动视频生成到开源项目解析2026/04/08 周三 19:00-21:00
童得力-华为云开发者生态运营总监/何文强-无人机企业AI提效负责人
本次华为云码道 Skill 实战活动,聚焦两大 AI 开发场景:通过实战教学,带你打造 AI 编程自动生成视频 Skill,并实现对 GitHub 热门开源项目的智能知识抽取,手把手掌握 Skill 开发全流程,用 AI 提升研发效率与内容生产力。
回顾中 -
华为云码道:零代码股票智能决策平台全功能实战2026/04/18 周六 10:00-12:00
秦拳德-中软国际教育卓越研究院研究员、华为云金牌讲师、云原生技术专家
利用Tushare接口获取实时行情数据,采用Transformer算法进行时序预测与涨跌分析,并集成DeepSeek API提供智能解读。同时,项目深度结合华为云CodeArts(码道)的代码智能体能力,实现代码一键推送至云端代码仓库,建立起高效、可协作的团队开发新范式。开发者可快速上手,从零打造功能完整的个股筛选、智能分析与风险管控产品。
回顾中
热门标签