文章分类 - Spring & Maven
摘要:springboot 提供文件下载服务 ChatGPT 说: ChatGPT 在 Spring Boot 中实现文件下载服务非常简单,可以通过以下步骤实现一个文件下载功能: 1. 创建一个 Spring Boot 项目 确保已创建 Spring Boot 项目,并添加必要的依赖,例如 Spring
阅读全文
摘要:Reactor Netty 是 Reactor Core 和 Netty 的桥梁 Reactor Netty采用事件驱动的方式处理网络事件。 当网络事件发生时,如新的连接建立、数据接收等,Netty会将这些事件传递给Reactor Netty。Reactor Netty再根据事件类型调用相应的处理器
阅读全文
摘要:@transactional 方法 调用 sqlsessiontemplate.insert 时,隐秘的 往 TransactionSynchronizationManager.resources 写入了 SqlSessionHolder , 可以通过 TransactionSynchronizat
阅读全文
摘要:Just Do IT,你的SpringBoot日志输出格式,由你来定 <!-- 解说下具体的pattern中属性的含义,详细参见http://logback.qos.ch/manual/layouts.html--> <!-- %logger{x},或者写为%c{x},表示类名信息,如果x为0则表示
阅读全文
摘要:https://springdoc.cn/springboot-datetime-format/ @JsonIgnoreProperties:此注解是类注解,作用是在json序列化时将Java bean中的某些属性忽略掉,序列化和反序列化都受影响。 @JsonIgnore:此注解用于属性或者方法上(
阅读全文
摘要:1 @Configuration 2 @EnableScheduling 3 public class MySchedulingConfig implements SchedulingConfigurer { 4 5 public static ScheduledTaskRegistrar stat
阅读全文
摘要:三种后处理器 https://cloud.tencent.com/developer/article/2320756 启动后 自身的初始化 https://blog.csdn.net/w1014074794/article/details/130972183 IDEA 下 源码下载 项目根目录下执行
阅读全文
摘要:https://springdoc.cn/spring-boot-database-transaction-management-tutorial/ 事务管理器: https://springdoc.cn/transaction-manager-in-spring Spring 多线程的事务处理 h
阅读全文
摘要:Spring-AOP根据spel获取方法参数值、Bean对象属性值 https://www.cnblogs.com/jelly12345/p/17749672.html @PostAuthorize("returnObject.books.contains('BookA2')")
阅读全文
摘要:专栏文章 👍 https://learn.lianglianglee.com/%e4%b8%93%e6%a0%8f/Spring%20Security%20%e8%af%a6%e8%a7%a3%e4%b8%8e%e5%ae%9e%e6%93%8d/00%20%e5%bc%80%e7%af%87%e
阅读全文
摘要:SecurityContextHolder.getContext().setAuthentication(authentication); 认证拼接点 SpringBoot+SpringSecurity前后端分离+Jwt的权限认证(改造记录) @PreAuthorize 实现 @PermitAll
阅读全文
摘要:https://blog.csdn.net/guizishou00/article/details/79444973?spm=1001.2101.3001.6650.5&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBl
阅读全文
摘要:https://www.bilibili.com/video/BV1yq4y197sP?p=9&spm_id_from=pageDriver&vd_source=f0af7e8672950f05b84e56e88f09f32c
阅读全文
摘要:https://www.bilibili.com/video/BV1Ha411v7yZ/?p=4&spm_id_from=pageDriver&vd_source=f0af7e8672950f05b84e56e88f09f32c
阅读全文
摘要:https://www.bilibili.com/video/BV1KW411F7oX?p=12&spm_id_from=pageDriver&vd_source=f0af7e8672950f05b84e56e88f09f32c
阅读全文
摘要:https://blog.csdn.net/Alex_81D/article/details/106524566 springboot读取外部配置文件的方法,如下优先级:第一种是在执行命令的目录下建config文件夹。(在jar包的同一目录下建config文件夹,执行命令需要在jar包目录下才行),
阅读全文
摘要:https://www.bilibili.com/video/BV1Ha411v7yZ/?p=4&spm_id_from=pageDriver&vd_source=f0af7e8672950f05b84e56e88f09f32c 简单使用案例 https://blog.csdn.net/WanWen
阅读全文
摘要:maven 版本问题 https://blog.csdn.net/qq_45048256/article/details/123539903
阅读全文