Closed daihy8759 closed 1 year ago
mybatis默认会创建SqlSessionFactory吧,这个bean是不是没办法初始化
带来的问题就是一些配置没办法生效,例如configurationCustomizers,数据库类型读取等等
自定义 SqlSessionFactoryBean 参阅: https://github.com/mybatis-flex/mybatis-flex/blob/main/mybatis-flex-spring-boot-starter/src/main/java/com/mybatisflex/spring/boot/SqlSessionFactoryBeanCustomizer.java
新版本验证已无此问题。
mybatis默认会创建SqlSessionFactory吧,这个bean是不是没办法初始化
带来的问题就是一些配置没办法生效,例如configurationCustomizers,数据库类型读取等等