For below code snippet, if exception occurs do I need to rollback the transaction? Or closing the transaction takes care of it?
try (Transaction tx = transactions.txStart()) {
Integer hello = cache.get("Hello");
if (hello == 1)
cache.put("Hello", 11);
cache.put("World", 22);
tx.commit();
}
BR,
Ashish
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
