Sometimes we create a new project or a new project, and obviously connect to the database for this project or project, and everything is correct, but writing SQL statements in xml does not prompt the relevant fields in the database table, whether it is the table name or Well, it’s better to use the field name, if you don’t prompt at all, it’s a big headache to think of typing a lot of fields by hand.
But it doesn't matter, then the author will introduce how to solve this problem
1. Click File in the upper left corner of IDEA---->click Settings...
2. Enter SQL Dialects in the search box and press Enter
3. Select the database service you use in the box ①, and then click the + sign
4. Select the item you want to make effective, then click OK
5. Click OK
Then we found that writing SQL statements can prompt table names and field names
OK! ! ! Finish! ! !