Re: BUG #11680: PostgreSQL JDBC Driver issue - Mailing list pgsql-bugs

From jaime soler
Subject Re: BUG #11680: PostgreSQL JDBC Driver issue
Date
Msg-id 1413537329.18789.11.camel@enterprisedb01
Whole thread Raw
In response to BUG #11680: PostgreSQL JDBC Driver issue  (kentoj@gmail.com)
List pgsql-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])
>
>

pgsql-bugs by date:

Previous
From: Noah Misch
Date:
Subject: Re: BUG #10436: Can't compile 9.4 with this mingw64-w32 gcc 4.8.1, 4.8.2, 4.8.3
Next
From: Александр Глухов
Date:
Subject: ARMv5