Mapper icon indicating copy to clipboard operation
Mapper copied to clipboard

升级5.0后configuration配置不起作用

Open shemprun opened this issue 1 year ago • 6 comments

之前的版本是在mybatis-config里面配置的,升级5.0后相关配置不起作用 image 无标题

shemprun avatar Sep 12 '24 09:09 shemprun

5.0完全copy官方starter进行了更新,可以看看官方文档这部分配置: https://mybatis.org/spring-boot-starter/mybatis-spring-boot-autoconfigure/zh/index.html image

abel533 avatar Sep 12 '24 09:09 abel533

除了mybatis.config 还有没有其他不兼容的配置?

abel533 avatar Sep 12 '24 09:09 abel533

还有一个问题,我之前看有一个关闭的issure里面提到了自定义mapper里面没有用SelectProvider等几个注解描述、实现的方法 会报错的问题,这个问题会在将来修正吗?

shemprun avatar Sep 13 '24 02:09 shemprun

请问这个问题有解决方案吗

ljfreedom avatar Sep 23 '24 08:09 ljfreedom

@ljfreedom 参考官方文档能不能解决? https://mybatis.org/spring-boot-starter/mybatis-spring-boot-autoconfigure/zh/index.html

abel533 avatar Sep 25 '24 07:09 abel533

image 已解决

ljfreedom avatar Sep 26 '24 03:09 ljfreedom