public void setIgnoreJTA(boolean flag) {
    regionAttributes.ignoreJTA = flag;
    regionAttributes.setHasIgnoreJTA(true);
  }
Sets the flag telling a region to ignore JTA transactions. Default is false.

@param flag boolean specifying if the region should ignore JTA transactions

@since GemFire 5.0
geode-core/src/main/java/org/apache/geode/cache/AttributesFactory.java