About the "SQL dialect is not configured." warning in IDEA

About the "SQL dialect is not configured." warning in IDEA

Today, in learning the integration of Spring and mybatis, I encountered a situation that I have not encountered before. When writing the xml file, IDEA gave a warning under my SQL statement: **SQL dialect is not configured.** After I checked repeatedly, I found that it was not the SQL statement.
Insert picture description here
It turned out that it was a problem set in IDEA.

Solution: 1. Find Settings in IDEA's File 2. Find Languages ​​& Frameworks and find SQL Dialects in this tab 3. Set the options in Global SQL DIalect and Project SQL Dialect on the right of this option to MYSQL , Then click APPLY and OK in turn . After the modification is completed, IDEA will not warn you, and the yellow line under the SQL statement is gone!
Insert picture description here

Insert picture description here

Insert picture description here

Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_45309636/article/details/108740212