[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:49 EST 2012
[ https://issues.jboss.org/browse/AS7-3552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tristan Tarrant updated AS7-3552:
---------------------------------
Fix Version/s: 7.1.0.Final
> 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
> Fix For: 7.1.0.Final
>
>
> 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