Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-3552

Specifying the batching attribute on caches enables transactions all the time (for whatever value of batching)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 7.1.0.Final
    • None
    • None
    • None
    • Workaround Exists
    • Hide

      Removing the batching attribute (which has the same meaning batching="false") does not change the transactional mode of the cache

      Show
      Removing the batching attribute (which has the same meaning batching="false") does not change the transactional mode of the cache

    Description

      From CacheAdd.java

      if (cache.hasDefined(ModelKeys.BATCHING)) {
      InvocationBatchingConfigurationBuilder batchingBuilder = builder.transaction().transactionMode(org.infinispan.transaction.TransactionMode.TRANSACTIONAL).invocationBatching();
      if (cache.get(ModelKeys.BATCHING).asBoolean())

      { batchingBuilder.enable(); }

      else

      { batchingBuilder.disable(); }

      }

      Attachments

        Activity

          People

            pferraro@redhat.com Paul Ferraro
            NadirX NadirX
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: