mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-06 16:48:24 +08:00
opt:update loveqq-framework starter version
This commit is contained in:
parent
366d556bad
commit
2fb2582d9b
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>com.mybatis-flex</groupId>
|
||||
<artifactId>parent</artifactId>
|
||||
<version>1.10.8</version>
|
||||
<version>1.10.9</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>mybatis-flex-loveqq-starter</artifactId>
|
||||
|
||||
@ -80,7 +80,7 @@ public class FlexSqlSessionFactoryBean extends SqlSessionFactoryBean {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void buildMapperLocations() {
|
||||
protected void buildMapperLocations(Configuration configuration) {
|
||||
// mybatis-flex 要延迟加载
|
||||
}
|
||||
|
||||
@ -92,7 +92,7 @@ public class FlexSqlSessionFactoryBean extends SqlSessionFactoryBean {
|
||||
@Override
|
||||
protected SqlSessionFactory build(Configuration configuration) {
|
||||
SqlSessionFactory sqlSessionFactory = new FlexSqlSessionFactoryBuilder().build(configuration);
|
||||
super.buildMapperLocations();
|
||||
super.buildMapperLocations(configuration);
|
||||
return sqlSessionFactory;
|
||||
}
|
||||
}
|
||||
|
||||
@ -189,6 +189,7 @@ public class MybatisFlexAutoConfiguration implements InitializingBean {
|
||||
* @param dataSource 数据源
|
||||
* @return 事务管理器
|
||||
*/
|
||||
@ConditionalOnMybatisFlexDatasource
|
||||
@Bean(resolveNested = false, independent = true)
|
||||
public PlatformTransactionManager flexDataSourceTransactionManager(DataSource dataSource) {
|
||||
return new FlexTransactionManager();
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<artifactId>mybatis-flex-test</artifactId>
|
||||
<groupId>com.mybatis-flex</groupId>
|
||||
<version>1.10.8</version>
|
||||
<version>1.10.9</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>mybatis-flex-loveqq-test</artifactId>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user