Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

和MybatisX的兼容性:mysql环境下能不能在mapper.xml里把数据库名用变音符(`)圈起来呢? #46

Closed
peter17ji opened this issue Jul 30, 2020 · 2 comments

Comments

@peter17ji
Copy link
Contributor

MybatisX是Mybatis Plus作者的IDEA下mapper.xml高亮和语法检查插件(https://gitee.com/baomidou/MybatisX/attach_files),但对于库名有减号(-)的mysql数据库,Easy Code生成的mapper.xml无法正确高亮。
屏幕截图(41)
直接在模板里加变音符显然很可能会破坏和其他种类数据库的兼容性,所以希望作者能给mysql数据源单独做处理,把数据库名用变音符(`)圈起来。
屏幕截图(42)

@anjia0532
Copy link

你可以自定义模板

@makejavas
Copy link
Owner

暂时先关闭该issues,如问题依然存在请重新打开。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants