![](https://img-blog.csdnimg.cn/20191024111026385.jpg?x-oss-process=image/resize,m_fixed,h_224,w_224)
架构
各种编程语言框架以及大数据框架
Long QI
这个作者很懒,什么都没留下…
展开
-
Spring事务注解详解
Propergation的七种属性 required 如果父方法上有事务注解,则加入父方法的事务;如果父方法上没有事务注解,则自己创建一个事务 supports 如果父方法上有事务注解,那么子方法使用父方法事务;如果父方法上没有事务注解,那么子方法也不使用事务 mandatory 必须使用事务,如果父方法上有事务注解,那么使用父方法的事务;如果父方法上没有事务注解,那么抛出异常 requires_new 创建一个新的事务,如果父方法上有事务注解,那么挂起父事务;如果没有,使.原创 2021-06-28 10:11:33 · 567 阅读 · 0 评论 -
Spring Boot的属性注入的三种方式
Spring Boot的属性注入: 以数据源的属性注入为例 (1)@Value注入 准备工作:首先引入依赖 <dependency> <groupId>com.alibaba</groupId> <artifactId>druid</artifactId> <version>1.1.6</version&g...原创 2019-10-29 18:41:24 · 612 阅读 · 0 评论 -
Spring boot入门
目录 1、SpringBoot介绍 1.1 Spring优缺点 1.2 SpringBoot概述 1.2.1SpringBoot解决了Spring缺点 1.2.2SpringBoot特点 1.2.3 SpringBoot的核心功能 2、SpringBoot快速入门 2.1 创建Maven工程 2.1.1 用idea工具创建一个maven工程 2.1.2 添加SpringB...原创 2019-10-24 17:23:54 · 100 阅读 · 0 评论