Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 95200200B6B for ; Fri, 9 Sep 2016 11:35:06 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 93B2F160AC2; Fri, 9 Sep 2016 09:35:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 113C1160AB6 for ; Fri, 9 Sep 2016 11:35:05 +0200 (CEST) Received: (qmail 6458 invoked by uid 500); 9 Sep 2016 09:35:05 -0000 Mailing-List: contact user-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.apache.org Delivered-To: mailing list user@ignite.apache.org Received: (qmail 6447 invoked by uid 99); 9 Sep 2016 09:35:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Sep 2016 09:35:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id C7911180576 for ; Fri, 9 Sep 2016 09:35:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.173 X-Spam-Level: ** X-Spam-Status: No, score=2.173 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id Qwj-j-dgDmrj for ; Fri, 9 Sep 2016 09:35:03 +0000 (UTC) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id C1E0E5FB6F for ; Fri, 9 Sep 2016 09:35:02 +0000 (UTC) Received: from malf.nabble.com (unknown [162.253.133.59]) by mbob.nabble.com (Postfix) with ESMTP id F088730C304E for ; Fri, 9 Sep 2016 02:33:11 -0700 (PDT) Date: Fri, 9 Sep 2016 02:35:02 -0700 (PDT) From: seyeony To: user@ignite.apache.org Message-ID: <1473413702159-7628.post@n6.nabble.com> Subject: Transaction tx = ignite.transactions().txStart() and tx.commit() MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Fri, 09 Sep 2016 09:35:06 -0000 Hi, During the persistent store test (CacheAutoStoreExample.java from examples), I removed (commented out) the Transaction statemements as follows: // try (Transaction tx = ignite.transactions().txStart()) { ... ... // tx.commit(); // } I found the result is same as before (code with Transaction commit()). Does the Transaction statemements not need, if Read-Through and Write-Through are set as true in the CacheConfiguration as follows? cfg.setReadThrough(true); cfg.setWriteThrough(true); -SY -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Transaction-tx-ignite-transactions-txStart-and-tx-commit-tp7628.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.