I have this Hibernate code:
Query q = session.createQuery(\"from MyTable where status = :status\");
It compiles and works fine..
In IntelliJ IDEA 13 for Mac OS X I could find this option as "Query Language Checks" under "JPA Issues"