Re: BUG #11680: PostgreSQL JDBC Driver issue

From: jaime soler <jaime(dot)soler(at)gmail(dot)com>
To: kentoj(at)gmail(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #11680: PostgreSQL JDBC Driver issue
Date: 2014-10-17 09:15:29
Message-ID: 1413537329.18789.11.camel@enterprisedb01
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

El jue, 16-10-2014 a las 14:13 +0000, kentoj(at)gmail(dot)com escribió:
> The following bug has been logged on the website:
>
> Bug reference: 11680
> Logged by: Kent Johnson
> Email address: kentoj(at)gmail(dot)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])
>
>

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message abhishekmvn 2014-10-17 11:39:51 BUG #11702: Identity column error
Previous Message colin 2014-10-17 06:12:34 BUG #11696: C++ Linking issue - cant find ref to basic_tranaction