acle.com/en/java/javase/17/docs/api/java.transaction.xa/javax/transaction/xa/Xid.html" title="class or interface in javax.transaction.xa" class="external-link">Xid</a></span>&nbsp;<span class="element-name">getXid</span>()</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>an Xid object carrying a transaction context, 
 if any.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setTransactionTimeout(long)">
<h3>setTransactionTimeout</h3>
<div class="member-signature"><span class="modifiers">public</sp