Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Xf3dM-0001RK-5n for pgsql-bugs@arkaria.postgresql.org; Fri, 17 Oct 2014 09:15:40 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Xf3dL-0004GG-LB for pgsql-bugs@arkaria.postgresql.org; Fri, 17 Oct 2014 09:15:39 +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 1Xf3dK-0004GA-S9 for pgsql-bugs@postgresql.org; Fri, 17 Oct 2014 09:15:39 +0000 Received: from mail-wi0-x230.google.com ([2a00:1450:400c:c05::230]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Xf3dG-0006K1-JJ for pgsql-bugs@postgresql.org; Fri, 17 Oct 2014 09:15:36 +0000 Received: by mail-wi0-f176.google.com with SMTP id hi2so1498451wib.15 for ; Fri, 17 Oct 2014 02:15:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:reply-to:to:cc:date:in-reply-to:references :content-type:mime-version:content-transfer-encoding; bh=UkLm75bEzssn7tR3360w8poDryRfVajGED9ey+OgBsg=; b=At0s8g0sVDwtmlA7BxQD3O+60GeMPTbkN51cXWFz7wa/YqRTo0UT/1Z4c4Cp30im7u yucJyq5g2WpJRQpTMovnZbRierq3jYgIjCHkLGK0lxloIbjTPOYcxpdkec1D2P5uTBg9 VoZ/vwnTSqy9zpzkKVKQuAnzpKA1Er80hf6XN98IOI2Is5mUSA7J6l779ZiIP0zXrNJC VILP4kBjfe0KUZW1IT5c7RS8IkKV9A/Q6ij9qeRkI5JpRtVV77joXSgXflb3sYy40/QU RB32kpZuKVQbrq+9D4ZUXru48/a0LHXZvB6+z55cxEKolL1hnBJe8VAS5ftkGm8aPoGQ zosw== X-Received: by 10.181.12.81 with SMTP id eo17mr12687357wid.5.1413537331472; Fri, 17 Oct 2014 02:15:31 -0700 (PDT) Received: from [192.168.1.15] (84.122.201.35.dyn.user.ono.com. [84.122.201.35]) by mx.google.com with ESMTPSA id l5sm1355386wif.3.2014.10.17.02.15.29 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Fri, 17 Oct 2014 02:15:30 -0700 (PDT) Message-ID: <1413537329.18789.11.camel@enterprisedb01> Subject: Re: BUG #11680: PostgreSQL JDBC Driver issue From: jaime soler Reply-To: jaime.soler@gmail.com To: kentoj@gmail.com Cc: pgsql-bugs@postgresql.org Date: Fri, 17 Oct 2014 11:15:29 +0200 In-Reply-To: <20141016141324.26854.16565@wrigleys.postgresql.org> References: <20141016141324.26854.16565@wrigleys.postgresql.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -1.7 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org El jue, 16-10-2014 a las 14:13 +0000, kentoj@gmail.com escribió: > The following bug has been logged on the website: > > Bug reference: 11680 > Logged by: Kent Johnson > Email address: kentoj@gmail.com > PostgreSQL version: 9.3.1 > Operating system: Mac OS X > Description: > > When using the PostgreSQL JDBC driver in my project i get a weird error > stating "Unexpected error trying to gauge level of JDBC REF_CURSOR support : > null" > > It causes my application to hang when starting up for anywhere between > eighty to three hundred seconds. After startup everything works fine. I am > using the following driver version: > > (Gradle Dependency style) > 'org.postgresql:postgresql:9.3-1102-jdbc41' > > My application is a Spring Boot application and the hanging happens upon > starting that application. > > I saw the error after turning on Hibernate logging. The full log is at the > following paste. > > http://pastebin.com/CAjSyQw9 > > Does this sort of an error seem like an issue with the JDBC driver? Sorry are you using Mysql5Dialect instead of PostgreSQLDialect ? 2014-10-16 08:05:50.560 DEBUG 36916 --- [ost-startStop-1] o.h.b.r.s.internal.StrategySelectorImpl : Registering named strategy selector [org.hibernate.dialect.Dialect] : [MySQL5] -> [org.hibernate.dialect.MySQL5Dialect] (replacing [org.hibernate.dialect.MySQL5Dialect]) 2014-10-16 08:05:50.561 DEBUG 36916 --- [ost-startStop-1] o.h.b.r.s.internal.StrategySelectorImpl : Registering named strategy selector [org.hibernate.dialect.Dialect] : [MySQL5InnoDB] -> [org.hibernate.dialect.MySQL5InnoDBDialect] (replacing [org.hibernate.dialect.MySQL5InnoDBDialect]) > > -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs