Intellij IDEA: specify datasource for JPA validation

前端 未结 8 1562
无人共我
无人共我 2020-12-07 16:20

I have a Spring project for a small web app set up in Intellij IDEA.

It uses JPA on top of Hibernate for the persistence layer. The datasource (MySQL) is defined in

8条回答
  •  醉话见心
    2020-12-07 17:14

    As the path is different depending on your idea version. So from File --> Settings just search for : Unresolved database references. Then do whatever seems ok to you : uncheck the validation or change severity flag.

提交回复
热议问题