Reputation: 95
I'm writing my first webapp on IDEA. I'm having a small problem with model classes. IDE can't resolve a names of tables, columns, attributes, ect. from a database and marks this as errors. I DO have a Data Source configured (even on IDE scope). Do anybody know how to bypass that (while having a working project of course :))? As in title, I'm using an IntelliJ IDEA 12.1.6 version.
Upvotes: 9
Views: 8181
Reputation: 402393
Please check the documentation:
In the Data Sources Mapping section, specify the data source for each Hibernate session factory. To do that, select the desired entry in the Session Factory column, double click the corresponding Data Source, and select one from the list of data sources already configured in your workspace.
Upvotes: 21