7.0.3 JPA query not an error

I'm using JPA Query
Statement is:
Query query = em.createQuery("select w from ABC w where w.id = :par");
w.id is not a field in ABC class.
Idea correctly highlights .id in red, with tooltip text "This inspection
controls whether the Persistence QL Queries are error-checked".
However compilation of this class (or rebuild project) completes
All my inspections for 'Java EE issues' are set to be reported as errors.

Am I missing some setting? I want compilation to fail in this case.

Please sign in to leave a comment.