in java.lang" class="externalLink">String</a>&nbsp;name,
                   <a href="Query.html" title="interface in jakarta.persistence">Query</a>&nbsp;query)</pre>
<div class="block">Define the query, typed query, or stored procedure query as
 a named query such that future query objects can be created
 from it using the <code>createNamedQuery</code> or
 <code>createNamedStoredProcedureQuery</code> method.
 <p>Any configuration of the query object (except for actual
 parameter binding) in effect when the 