Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bgv3O-0006am-Dl for pgsql-jdbc@arkaria.postgresql.org; Mon, 05 Sep 2016 14:39:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bgv3N-0007mT-JQ for pgsql-jdbc@arkaria.postgresql.org; Mon, 05 Sep 2016 14:39:17 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bgv2t-0007En-0V for pgsql-jdbc@postgresql.org; Mon, 05 Sep 2016 14:38:47 +0000 Received: from omr-m009e.mx.aol.com ([204.29.186.8]) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bgv2o-0000Oy-7g for pgsql-jdbc@postgresql.org; Mon, 05 Sep 2016 14:38:44 +0000 Received: from mtaomg-aam01.mx.aol.com (mtaomg-aam01.mx.aol.com [172.27.19.147]) by omr-m009e.mx.aol.com (Outbound Mail Relay) with ESMTP id C0DC838000BB for ; Mon, 5 Sep 2016 10:38:40 -0400 (EDT) Received: from core-abb04f.mail.aol.com (core-abb04.mail.aol.com [172.27.0.4]) by mtaomg-aam01.mx.aol.com (OMAG/Core Interface) with ESMTP id AB9C138000081 for ; Mon, 5 Sep 2016 10:38:32 -0400 (EDT) Received: from 50.177.2.164 by webprd-m32.mail.aol.com (10.74.63.40) with HTTP (WebMailUI); Mon, 05 Sep 2016 10:38:31 -0400 Date: Mon, 5 Sep 2016 10:38:31 -0400 From: rapidtransit440@aol.com To: pgsql-jdbc@postgresql.org Message-Id: <156fac94c91-6196-e8d6@webprd-m32.mail.aol.com> In-Reply-To: Subject: Re: Anyone Getting deadlocks using 9.5 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_73821_1996091954.1473086311568" X-MB-Message-Source: WebUI X-MB-Message-Type: User X-Mailer: JAS STD X-Originating-IP: [50.177.2.164] DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20150623; t=1473086320; bh=vHa3YJId7TFN7NOCy7COZm1h6F+0iD4sA6Kjj5H8k08=; h=From:To:Subject:Message-Id:Date:MIME-Version:Content-Type; b=H5wdvHOTjoIbXwq1duVEofjZqwdaLy9MNwgU+i4QacIgV8cflUtJfpcaAOOEr9sBK ZWI4TQcqrJIMAPIc2bQPo29qULtB+QzsOI0Fvy8Ry1nNA2Ap+m3wsY5dUjsf77USRC 6sa+IikpMpkR3aht7+1MmkD/6lu5ZpVs0jRjaNfM= x-aol-sid: 3039ac1b139357cd83683937 X-Pg-Spam-Score: -4.0 (----) 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 ------=_Part_73821_1996091954.1473086311568 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit It's kind of a general question. If anyone has observed anything similar. I eventually figured I had to flush my EntityManager after saving the record even though I was in a transaction. In my logs, everything was the same, with 9.5 though it would just hang and deadlock itself. -----Original Message----- From: Dave Cramer To: rapidtransit440 Cc: List Sent: Fri, Sep 2, 2016 8:19 am Subject: Re: [JDBC] Anyone Getting deadlocks using 9.5 We'd need more detail. Dave Cramer davec@postgresintl.com www.postgresintl.com On 21 August 2016 at 19:45, wrote: I keep running into a deadlock using 9.5 on the very first attempt at a transaction, 9.4 works fine Both are a default Windows install. I don't know if the error is from the application side or the database side, so this seems like the most logical place to start and see if anyone ran into this. Driver: postgresql:9.4.1208.jre7 Spring: 4.3.2.RELEASE Hibernate: 5.2.2.Final Hikari: 2.4.7 Using Spring JPA Transaction Manager Sent from AOL Mobile Mail ------=_Part_73821_1996091954.1473086311568 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit It's kind of a general question. If anyone has observed anything similar. I eventually figured I had to flush my EntityManager after saving the record even though I was in a transaction. In my logs, everything was the same, with 9.5 though it would just hang and deadlock itself.


-----Original Message-----
From: Dave Cramer <pg@fastcrypt.com>
To: rapidtransit440 <rapidtransit440@aol.com>
Cc: List <pgsql-jdbc@postgresql.org>
Sent: Fri, Sep 2, 2016 8:19 am
Subject: Re: [JDBC] Anyone Getting deadlocks using 9.5

We'd need more detail.


On 21 August 2016 at 19:45, <rapidtransit440@aol.com> wrote:
I keep running into a deadlock using 9.5 on the very first attempt at a transaction, 9.4 works fine Both are a default Windows install.
I don't know if the error is from the application side or the database side, so this seems like the most logical place to start and see if anyone ran into this.
Driver: postgresql:9.4.1208.jre7
Spring: 4.3.2.RELEASE
Hibernate: 5.2.2.Final
Hikari: 2.4.7
Using Spring JPA Transaction Manager
Sent from AOL Mobile Mail

------=_Part_73821_1996091954.1473086311568--