Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-2278

Implicit transaction enabling during configuration fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • 5.1.6.FINAL
    • Configuration
    • None

    Description

      The implicit enabling of transaction support does not work in all cases described in TransactionMode Javadoc inside the current configuration API.

      • transactionManagerLookup is explicit configured
        This works not in programmatic.
      • enabled batching
        When using XML configuration, this will not work, when only <invocationBatching> element and no <transaction> element is used.
        At ConfigurationBuilderHolder.newConfigurationBuilder(...) the default cache config is used as base for the new named cache. Since build() is called, the TransactionConfiguration is set to NON_TRANSACTIONAL in the Configuration template used for the new ConfigurationBuilder. Later then any if(transactionMode == null)-related conditions in TransactionConfigurationBuilder will fail.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tfromm_jira Thomas Fromm (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: