We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19ce956 commit 2cef543Copy full SHA for 2cef543
hippo4j-server/hippo4j-config/src/main/java/cn/hippo4j/config/config/MybatisPlusConfig.java
@@ -31,13 +31,13 @@
31
@Configuration
32
public class MybatisPlusConfig {
33
34
- @Value("${spring.profiles.active:mysql}")
35
- private String profilesActive;
+ @Value("${hippo4j.database.dialect:mysql}")
+ private String databaseDialect;
36
37
@Bean
38
public MybatisPlusInterceptor mybatisPlusInterceptor() {
39
MybatisPlusInterceptor interceptor = new MybatisPlusInterceptor();
40
- interceptor.addInnerInterceptor(new PaginationInnerInterceptor(DbType.getDbType(profilesActive)));
+ interceptor.addInnerInterceptor(new PaginationInnerInterceptor(DbType.getDbType(databaseDialect)));
41
return interceptor;
42
}
43
0 commit comments