Why does Hibernate query have compile error in IntelliJ?

后端 未结 4 1479
栀梦
栀梦 2020-12-09 15:54

I have this Hibernate code:

Query q = session.createQuery(\"from MyTable where status = :status\");

It compiles and works fine..

4条回答
  •  無奈伤痛
    2020-12-09 16:37

    In IntelliJ IDEA 13 for Mac OS X I could find this option as "Query Language Checks" under "JPA Issues"

提交回复
热议问题