pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: jaime soler <jaime.soler@gmail.com>
To: kentoj@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #11680: PostgreSQL JDBC Driver issue
Date: Fri, 17 Oct 2014 11:15:29 +0200
Message-ID: <1413537329.18789.11.camel@enterprisedb01> (raw)
In-Reply-To: <20141016141324.26854.16565@wrigleys.postgresql.org>
References: <20141016141324.26854.16565@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

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



view thread (2+ messages)

Message-ID: <1413537329.18789.11.camel@enterprisedb01>
Permalink:  ../1413537329.18789.11.camel@enterprisedb01/
Also on:    postgresql.org/message-id/1413537329.18789.11.camel@enterprisedb01

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: jaime.soler@gmail.com, kentoj@gmail.com
  Subject: Re: BUG #11680: PostgreSQL JDBC Driver issue
  In-Reply-To: <1413537329.18789.11.camel@enterprisedb01>
  References: <20141016141324.26854.16565@wrigleys.postgresql.org> <1413537329.18789.11.camel@enterprisedb01>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox