10 2024 档案
摘要:1、@Transacational注解 (1)注解里面的属性: propagation: 用于设置事务传播属性,该属性类型为Propagation枚举,默认是Propagation.REQUIRED issolation: 用于设置事务的隔离级别,该属性类型为Isolation枚举,默认是Isola
阅读全文
摘要:1、选择 1、ElasticsearchRestTemplate是spring 对官方High Level REST Client的封装。 2、ElasticSearch 8.x 弃用了 High Level REST Client,移除了 Java Transport Client,推荐使用 El
阅读全文
摘要:方法1:复制表的方式 1.创建临时表account_bill_temp create table account_bill_temp like account_bill; 2.在新表中添加字段 alter table account_bill_temp add columu bill_id varc
阅读全文
摘要:1、okhttp工具类 依赖: <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency>
阅读全文