i always used following syntax to create Query:
Query q = em.createQuery("SELECT p FROM User p WHERE type = :type");
The object "User" is an @javax.persistence.Entity
there has been always code-completion in this case and the Object "User" was clickable.
but suddenly, from one day to the other, the User is displayed in red and shown as a error.
i guess, somehow i destroyed the ability to "understand" Entities withing Persistence QL.
is there a possibility to reset these special settings, without resetting all settings or reinstall intellij?