[jboss-jira] [JBoss JIRA] (AS7-3552) Specifying the batching attribute on caches enables transactions all the time (for whatever value of batching)

Tristan Tarrant (JIRA) jira-events at lists.jboss.org
Wed Feb 1 10:12:48 EST 2012


Tristan Tarrant created AS7-3552:
------------------------------------

             Summary: Specifying the batching attribute on caches enables transactions all the time (for whatever value of batching)
                 Key: AS7-3552
                 URL: https://issues.jboss.org/browse/AS7-3552
             Project: Application Server 7
          Issue Type: Bug
            Reporter: Tristan Tarrant
            Assignee: Paul Ferraro
            Priority: Critical


>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();
            }
        }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list