code: private void applyConnectionManagerConfiguration(ConnectionManagerConfiguration cmc,
        org.ironjacamar.common.api.metadata.common.XaPool xp)
     {
        if (xp != null)
        {
           if (xp.isIsSameRmOverride() != null)
              cmc.setIsSameRMOverride(xp.isIsSameRmOverride());
  
           if (xp.isPadXid() != null)
              cmc.setPadXid(xp.isPadXid());
  
           if (xp.isWrapXaResource() != null)
              cmc.setWrapXAResource(xp.isWrapXaResource());
        }
     }
docs: Apply xa-pool to connection manager configuration
  @param cmc The connection manager configuration
  @param xp The xa-pool definition