/code> - if the attribute's target 
         type is not a managed type entity</dd>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IllegalStateException</a></code> - if this EntityGraph has been 
         statically defined</dd>
</dl>
</li>
</ul>
<a id="addKeySubgraph(jakarta.persistence.metamodel.Attribute,java.lang.Class)">
<!--   -->
</a>
<ul class="blockLis