"Selection.html" title="interface in jakarta.persistence.criteria">Selection</a>&lt;<a href="Selection.html" title="type parameter in Selection">X</a>&gt;</span>&nbsp;<span class="element-name">alias</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;name)</span></div>
<div class="block">Assigns an alias to the selection item.
 Once assigned, an alias c