Hibernate facet and HQL - how to find errors


I'm using idea 14 ultimate.
Maven project, Spring and Hibernate. Hibernate facet is enabled for DAO module. Everything works on facet side.

A question
When we do refactoring in database and import new entities to project, then many HQLs turn invalid. Idea shows them as Can't resolve symbol ..., but Idea allows to compile and run the project. Is there a way to somehow get all these errors without going through the whole project and manually searching which HQL is invalid? Any way to disable running project?


Please sign in to leave a comment.