02 2023 档案
摘要:Spring 主要功能IOC/DI,具体原理这里不展开了,下面主要介绍一下,spring容器启动过程中会有哪些方式来加载bean。 1,自动装载 原理是通过AutoConfigurationImportSelector,加载 META-INF/spring.factories文件中定义的bean 2
阅读全文
摘要:假设T表是有a,b,c三个字段的联合索引表。 那么下面能用索引的查询是1,4。 Select * From T Where a=1 and b=2 and c=3 Select * From T Where b=2 and c=3 Select * From T Where c=3 Select *
阅读全文
摘要:I didn't gather what is that you asked me.Would you be able to ask me that in a different way? I'm not really sure if I understand what I'm asking you
阅读全文
摘要:引入类库 类库 <mapstruct.version>1.5.3.Final</mapstruct.version> <!-- use mapstruct-jdk8 for Java 8 or higher --> <dependency> <groupId>org.mapstruct</group
阅读全文