Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gMwN9-0003G9-36 for pgsql-jdbc@arkaria.postgresql.org; Wed, 14 Nov 2018 14:42:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gMwN7-0006yc-BE for pgsql-jdbc@arkaria.postgresql.org; Wed, 14 Nov 2018 14:42:25 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gMwN6-0006yV-Vf for pgsql-jdbc@lists.postgresql.org; Wed, 14 Nov 2018 14:42:25 +0000 Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gMwN4-0005jA-Ge for pgsql-jdbc@lists.postgresql.org; Wed, 14 Nov 2018 14:42:23 +0000 Received: by mail-pf1-x42f.google.com with SMTP id v9-v6so8028672pff.2 for ; Wed, 14 Nov 2018 06:42:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=ILbB61m+EyYf4LIg+4jwMHNVM9YYjrbDeFoenK/PHeo=; b=o6cjQ8ZQqSYlOvS4IfVLUr3PoqgJWo3F3epBrKFvXZXFpW9wtZHlL9SOzZ5s2jI4dt P3oRpuaiZAFy7m+FZY0ChaAVtoXuwvBiQ7B8LxuVGs/o5i2pdg2ryc5MUpS5KjryjUdL S7c0XfwspBMA7hDJJSap2njJutzWTy1LIwK5cuBUVs9PCp+CLwFKW3oJ/HDJeKFS4uDH yZXsxFZbnEbjjM4cXDRbCI21Aqot+ntIeFkeuYWAtB5SLV7L7arj9rTrexovVMPNQNcY ifaMMBJJBz6IHm5+I2hdqKsrx1/lI4n4tMrXJj55JRMpO9z7PZy9A9S/N8qYQj3usLCy QbFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=ILbB61m+EyYf4LIg+4jwMHNVM9YYjrbDeFoenK/PHeo=; b=bPHUbhKJaDWd5JgJAqJmyAXNQST29P/XQDK7j6t+UhbkOPvVS70/Mrwy64D4uDM8bi 4zkX9A+4h3HbI7p3Npk1JiP6wiunj6LQnyGQ3pCL5JP0S/Jd0DC5Guv0JOYr+hmSWhbe iuK2Y4fvUT6pUtoiBcfUZMULQ+WT/NywU6VYkkOyxDLf1xQO86HFKnEHBdzaDLXipgad Fh4Lh1KCBLALaUi7PiUI5kip72ztuvUoJLjwqKenIVQAPt+nPKeyrDDm2cgn+YSatByA YT97xqdQRia5NbbHjhcbqozV92cALqsxCO3VpZxWpHSh7xDIPZKQ8hmoBtlufXFq59ZF 9iLg== X-Gm-Message-State: AGRZ1gKGgvtuubSuDguGY97dkEd/GorMghwq3Jz2OOvmAYbUH68Wzf7R fXd/5S5aWNw3eAcQYnYPqBpr5qeRdMI= X-Google-Smtp-Source: AJdET5fGh0m+O7/VMD9985t9YH3U5a3eKaXyIe8QXLLpDYbjJwZAB3sEz/iRXTADYUe2267yMi2RYQ== X-Received: by 2002:a62:5dd1:: with SMTP id n78mr2237367pfj.58.1542206541030; Wed, 14 Nov 2018 06:42:21 -0800 (PST) Received: from roblaptop (193-119-119-42.tpgi.com.au. [193.119.119.42]) by smtp.gmail.com with ESMTPSA id e65-v6sm31184529pfa.90.2018.11.14.06.42.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 14 Nov 2018 06:42:20 -0800 (PST) Message-ID: <11e772e66843f44261d302615c438357203b6da2.camel@gmail.com> Subject: Re: getAutocommit assertion error From: rob stone To: adrien ruffie , "pgsql-jdbc@lists.postgresql.org" Date: Thu, 15 Nov 2018 01:42:16 +1100 In-Reply-To: References: , Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.1-1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hello, > > > private booleanisAutoCommit() { > > > try { > > > return pgStatement.getConnection().getAutoCommit(); > > > } catch (SQLException e) { > > > assert false : "pgStatement.getConnection().getAutoCommit() > > > should not throw"; > > > return false; > > > } > > > }