时间:2021-07-01 10:21:17 帮助过:51人阅读
Javadoesn’treallyprovideanygoodmeansofauto-discoveryinthisregard,sothebestwaytodoitistosimplytellMyBatiswheretofindthemappingfiles.于是我们有了mapper
MyBatis-SpringUsing the
Using the annotation @MapperScan
然后我再也不需要:
loads early during the start process and it is too early to build mybatis object instances.
也就是说: