Found a total of 1 related content
How to implement typeAliasesPackage regular scanning in Springboot+Mybatis
Article Introduction:MybatistypeAliasesPackage regular scan mybatis default configuration typeAliasesPackage does not support regular scan package, so you need to manually inherit org.mybatis.spring.SqlSessionFactoryBean and implement regular scan yourself. The method is no different from the traditional spring+mybatis. The difference is that each needs to inherit a class. is the scanning implementation used. For two or more scan paths, for example: cn.com.onethird.integration.entitycn.com.onethird.busin
2023-05-11comment 0897