• HOME
  • SEARCH
  • TOPICS
  • DATA

  • Spring 事务失效的几种场景

    检查异常 代码 未指定rollbackFor @Transactional public void transfer(int from, int to, int

    2021-12-26, Views: 2846 , Topics: Spring 事务 面试

  • Spring 事务

    引入依赖 JdbcTemplate、MySQL驱动、HikariCP数据库连接池 <dependency> <groupId>o

    2021-12-25, Views: 2331 , Topics: Spring 事务

  • Spring AOP 原理

    版本 spring-aspects-5.3.13 步骤 @EnableAspectJAutoProxy开启AOP功能 @EnableAspectJAutoPr

    2021-12-24, Views: 2608 , Topics: Spring 面试

  • Spring 循环依赖能否用二级缓存解决

    结论 不能。 原因 bean创建分为三步:实例化、填充属性、初始化。 循环依赖发生在填充属性阶段,代理对象的创建在初始化完成后的后置处理器回调中。 如果只用二级

    2021-12-23, Views: 4172 , Topics: Spring 面试

  • Spring 循环依赖

    原因 ClassA的构造中需要ClassB,ClassB的构造中需要ClassA。 public class ClassA { public Clas

    2021-12-22, Views: 2676 , Topics: Spring 面试

  • Spring 接口类型 getBeanNamesForType 获取实际类型的流程

    版本 spring-context 5.3.13 案例 备注:实际TestService接口无需标注@Service注解,即使标注了注解也不会加入到BeanDe

    2021-12-21, Views: 3492 , Topics: Spring

  • Spring 组件的注册时机

    相关组件 被@Component、@Controller、@Service、@Repository、@Bean标注的组件。 相关后置处理器 主要是配置类后置处理

    2021-12-20, Views: 2653 , Topics: Spring 面试

  • Spring @EventListener 加载流程

    注解 /** * @see EventListenerMethodProcessor */ @Target({ElementType.METHOD, Ele

    2021-12-19, Views: 2902 , Topics: Spring 面试

  • Spring 注册内置后置处理器流程

    版本 spring-context 5.3.13 注册流程 AnnotationConfigApplicationContext构造函数中完成了Spring内置

    2021-12-18, Views: 2844 , Topics: Spring 面试

  • Spring 依赖注入原理

    版本 spring-context 5.2.6.RELEASE 依赖注入 AutowiredAnnotationBeanPostProcessor处理@Auto

    2021-12-17, Views: 2672 , Topics: Spring 面试

  • Spring 创建 IOC 容器步骤

    代码 AnnotationConfigApplicationContext applicationContext = new AnnotationConfigA

    2021-12-16, Views: 1969 , Topics: Spring 面试

  • Java Log4j2 高危漏洞复现及解决办法

    影响范围 影响< 2.15.0的所有2.x版本。且JDK版本在Oracle JDK 11.0.1、8u191、7u201、6u211及之前的版本。 Git

    2021-12-14, Views: 3738 , Topics: Java Log4j2

  • Spring Boot 整合 Log4j2 不起作用

    现象 pom文件中引入了log4j2。 <dependency> <groupId>org.springframework.bo

    2021-12-12, Views: 3887 , Topics: Spring Boot Log4j2

  • 使用 ffmpeg 转换 m4a 为 mp3

    说明 需下载ffmpeg,命令行中的路径需修改为ffmpeg保存路径。 单独转换 C:\Software\ffmpeg\bin\ffmpeg.exe -i "a

    2021-12-12, Views: 14003 , Topics: ffmpeg

  • IDEA JavaFX Can't build artifact - fx:deploy is not available in this JDK

    现象 在IDEA的Project Structure中添加Artifacts,选择JavaFX Application下的From Module...,但在页面

    2021-12-11, Views: 8401 , Topics: JavaFX IDEA

  • Git OpenSSL errno 10054

    具体错误 OpenSSL SSL_read: Connection was reset, errno 10054 方法一 git config --global

    2021-12-10, Views: 2711 , Topics: Git OpenSSL

  • Java 删除非空文件夹

    Files.walkFileTree SimpleFileVisitor相关的回调方法如下: preVisitDirectory:进入文件夹前的回调方法。 vi

    2021-12-09, Views: 2650 , Topics: Java

  • Java 多级目录的文件夹拷贝

    代码 public class FilesCopyDemo { public static void main(String[] args) thro

    2021-12-08, Views: 1880 , Topics: Java

  • Java 遍历文件夹

    Files.walkFileTree preVisitDirectory:进入文件夹前的回调方法。 visitFile:遍历到具体文件的回调方法。 postVi

    2021-12-07, Views: 2203 , Topics: Java

  • 为什么 ArrayList 父类中已经实现了 List 接口,自身也实现了 List 接口

    引用 I've asked Josh Bloch, and he informs me that it was a mistake. He used to t

    2021-12-03, Views: 2077 , Topics: Java

  • First Prev
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • Next Last

©2025 沪ICP备18012661号-1 阿里云

Messages Sitemap GitHub