String of SQL doesn't understand in Intellij

后端 未结 2 1028
清歌不尽
清歌不尽 2021-01-27 07:36

everybody. I am making a toy webapp. It uses Spring Boot and Mybatis. Mybatis mapper configures Java Interface. I expect the string of SQL understands in Intellij. But It doesn\

相关标签:
2条回答
  • 2021-01-27 08:19

    You can activate this feature with the following steps:

    1. On you query press Alt + Enter keys and choose the option: Inject language or reference:

    1. Select the most appropiet syntax for you, for example: SQL (SQL Files)

    1. Results:

    For disable that feature, you should press Alt + Enter keys on your query and choose Un-inject Language/Reference

    0 讨论(0)
  • 2021-01-27 08:40

    In java file type, use Inject Language intention action to inject appropriate SQL dialect:

    0 讨论(0)
提交回复
热议问题