xternalLink">IllegalStateException</a></code> - if the EntityGraph has been 
         statically defined</dd>
</dl>
</li>
</ul>
<a id="addSubgraph(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addSubgraph</h4>
<pre class="methodSignature">&lt;X&gt;&nbsp;<a href="Subgraph.html" title="interface in jakarta.persistence">Subgraph</a>&lt;X&gt;&nbsp;addSubgraph&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=tru