xa_strick and RollBack behaviour

Developers
MirekSz
2011-07-13
2013-05-14
  • MirekSz
    MirekSz
    2011-07-13

    Hello,
    I have enabled xa_strick in my cache region now in two transactions I trying to add new element

    cache.put(new Element(1,"value"));

    When transactions commit the second one got RollBackException but when element in cache (new Element(1,"value")) exists no error occurs. Why that this happened?