|
@@ -2,7 +2,6 @@ package com.baomidou.mybatisplus.test.h2.config;
|
|
|
|
|
|
import javax.sql.DataSource;
|
|
|
|
|
|
-import com.baomidou.mybatisplus.MybatisSqlSessionTemplate;
|
|
|
import org.apache.ibatis.plugin.Interceptor;
|
|
|
import org.apache.ibatis.session.SqlSessionFactory;
|
|
|
import org.apache.ibatis.type.JdbcType;
|
|
@@ -65,9 +64,4 @@ public class MybatisPlusConfig {
|
|
|
conf.setIdType(2);
|
|
|
return conf;
|
|
|
}
|
|
|
-
|
|
|
- @Bean
|
|
|
- public MybatisSqlSessionTemplate sqlSessionTemplate(SqlSessionFactory sqlSessionFactory){
|
|
|
- return new MybatisSqlSessionTemplate(sqlSessionFactory);
|
|
|
- }
|
|
|
}
|