当前使用版本(必填,否则不予处理)
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
<version>3.4.3</version>
</dependency>
该问题是如何引起的?(确定最新版也有问题再提!!!)
在做从mysql向gaussdb迁移的时候发现sql必须加上模式名
重现步骤(如果有就写完整)
mybatis-plus:
configuration:
map-underscore-to-camel-case: true
auto-mapping-behavior: full
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
mapper-locations: classpath*:mapper/**/*Mapper.xml
configuration-properties:
prefix: test1. #不生效
global-config:
db-config:
logic-not-delete-value: 1
logic-delete-value: 0
table-prefix: test1. #是生效的
Comment From: miemieYaho
mp没有mybatis-plus.configuration-properties.prefix这个配置,你从哪抄的?
Comment From: lijunyong
自定义的sql能否添加前缀?
Comment From: miemieYaho
不能