随笔分类 - spring
摘要:spring-tx,即Spring Framework的事务管理模块,提供了对各种事务API的抽象,包括JDBC、JPA、Hibernate等。Spring事务管理的核心是PlatformTransactionManager接口,它为应用程序提供了统一的事务管理方式,无论是声明式还是编程式事务管理。
阅读全文
摘要:public interface BeanPostProcessor { @Nullable default Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException { re
阅读全文