Inspectopedia Help

Unresolved queries and query parameters

Reports unresolved symbols in named and native queries and related API methods:

  • Unknown named query

  • Unknown query parameter

Example:

@Entity @NamedQuery(name = "SelectByConditionQuery", query = "...") public class JavaEntity { ... } class Main { public static void executeQuery() { Persistence.createEntityManagerFactory("") .createEntityManager() .createNamedQuery("SelectAllQuery") // Error: unknown query name ... } }

Inspection Details

Available in:

IntelliJ IDEA 2024.2, Qodana for JVM 2024.2,

Plugin:

Jakarta EE: Persistence (JPA), 242.SNAPSHOT

Last modified: 20 February 2024