Return-Path: X-Original-To: apmail-openjpa-users-archive@minotaur.apache.org Delivered-To: apmail-openjpa-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F04B6D67B for ; Tue, 25 Sep 2012 16:26:25 +0000 (UTC) Received: (qmail 98438 invoked by uid 500); 25 Sep 2012 16:26:25 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 98356 invoked by uid 500); 25 Sep 2012 16:26:25 -0000 Mailing-List: contact users-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@openjpa.apache.org Delivered-To: mailing list users@openjpa.apache.org Received: (qmail 98347 invoked by uid 99); 25 Sep 2012 16:26:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Sep 2012 16:26:25 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [194.109.24.29] (HELO smtp-vbr9.xs4all.nl) (194.109.24.29) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Sep 2012 16:26:16 +0000 Received: from remote.huizemolenaar.nl (D57D0452.static.ziggozakelijk.nl [213.125.4.82]) (authenticated bits=0) by smtp-vbr9.xs4all.nl (8.13.8/8.13.8) with ESMTP id q8PGPtf6091028 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Tue, 25 Sep 2012 18:25:56 +0200 (CEST) (envelope-from henno@huizemolenaar.nl) Received: from HMS.hm.local ([fe80::6051:4a91:4c0d:d963]) by HMS.hm.local ([fe80::6051:4a91:4c0d:d963%11]) with mapi; Tue, 25 Sep 2012 18:25:57 +0200 From: Henno Vermeulen To: "'users@openjpa.apache.org'" Date: Tue, 25 Sep 2012 18:25:56 +0200 Subject: effect of read-only transactions with Spring on sql-server Thread-Topic: effect of read-only transactions with Spring on sql-server Thread-Index: Ac2bOnBpaVqb+kexSDuuyqYjqb+5HQ== Message-ID: <1C448C478A6B4743AF19DBC3C3DCE1320394ACBC9FB7@HMS.hm.local> Accept-Language: nl-NL Content-Language: nl-NL X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: nl-NL Content-Type: multipart/alternative; boundary="_000_1C448C478A6B4743AF19DBC3C3DCE1320394ACBC9FB7HMShmlocal_" MIME-Version: 1.0 X-Virus-Scanned: by XS4ALL Virus Scanner --_000_1C448C478A6B4743AF19DBC3C3DCE1320394ACBC9FB7HMShmlocal_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I am using OpenJPA on sql server and manage my transactions with Spring @Tr= ansactional annotations. I am using the default transaction isolation of re= ad committed. What is the effect of using "@Transactional(readOnly =3D true)" on methods = that use an entitymanager to run queries that do not update/insert anything= ? Or will there be no difference with "@Transactional"? --_000_1C448C478A6B4743AF19DBC3C3DCE1320394ACBC9FB7HMShmlocal_--