Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XwTwb-0007Zx-4d for pgsql-jdbc@arkaria.postgresql.org; Thu, 04 Dec 2014 10:47:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XwTwa-0000yO-GE for pgsql-jdbc@arkaria.postgresql.org; Thu, 04 Dec 2014 10:47:32 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XwTwZ-0000yI-Rc for pgsql-jdbc@postgresql.org; Thu, 04 Dec 2014 10:47:31 +0000 Received: from mwork.nabble.com ([162.253.133.43]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XwTwW-0005jH-NZ for pgsql-jdbc@postgresql.org; Thu, 04 Dec 2014 10:47:30 +0000 Received: from msam.nabble.com (unknown [162.253.133.85]) by mwork.nabble.com (Postfix) with ESMTP id 96D89C946AA for ; Thu, 4 Dec 2014 02:47:29 -0800 (PST) Date: Thu, 4 Dec 2014 03:47:28 -0700 (MST) From: Alexandor84 To: pgsql-jdbc@postgresql.org Message-ID: <1417690048513-5829205.post@n5.nabble.com> Subject: Set readonly transaction per transaction MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -0.3 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org Hi All, I found that JDBC driver set readOnly transaction as: SET SESSION CHARACTERISTICS AS TRANSACTION READ ONLY Is there a way to reconfigure JDBC driver to set ReadOnly like: BEGIN TRANSACTION READ ONLY; . . COMMIT; Thank you in advance, Alex -- View this message in context: http://postgresql.nabble.com/Set-readonly-transaction-per-transaction-tp5829205.html Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com. -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc