4 Replies Latest reply on Aug 29, 2012 2:22 PM by Yuchen Fang

    Grouping Api and its Effect on JTA Transaction

    Yuchen Fang Newbie

      Hi, I use Weblogic 11g and Infinispan 5.1.5 on a two-node cluster. There are two caches on the cluster and each cache has only one copy of data. I want to put elements on that two caches transactionally so I use Weblogic built-in JTA transcation manager. In order to reduce transaction cost. I use Grouping api. So all the data that I want to put is in the same node. I hope that could reduce a two-phrase transaction into one-phrase. But Weblogic still tell me it uses two-phrase transaction. 

       

      Use Grouping API when doing JTA has any advantage?

       

      Is it possiblity for infinispan to reduce into a one-phrase transaction?

       

      Thanks.