Unresolved entity graph names
Reports the following unresolved attributes inside EntityGraph-related annotations:
Value in
@NamedAttributeNode
Named subgraph in
@NamedAttributeNode
Name in
@NamedEntityGraph
Example:
@Entity
@NamedEntityGraph(name = "entity-graph", ...)
public class JavaEntity {
public void foo() {
Persistence.createEntityManagerFactory("")
.createEntityManager()
.getEntityGraph("unknown-entity-graph"); // unresolved reference
}
}
Inspection Details | |
---|---|
Available in: | IntelliJ IDEA 2023.3, Qodana for JVM 2023.3 |
Plugin: | Jakarta EE: Persistence (JPA), 233.SNAPSHOT |
Last modified: 13 July 2023