<code>Session.DUPS_OK_ACKNOWLEDGE</code>. For a definition of the meaning of these acknowledgement modes see the links
 below.
 </ul>

 <p>
 In a <b>Jakarta EE web or EJB container, when there is an active JTA transaction in progress</b>:

 <ul>
 <li>Both arguments <code>transacted</code> and <code>acknowledgeMode</code> are ignored. The session will participate in the
 JTA transaction and will be committed or rolled back when that transaction is committed or rolled back, not by
 calling the session's <code