setQueryTimeout(int) is not yet implemented

From: "Vernon" <vwu(at)vicina(dot)info>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: setQueryTimeout(int) is not yet implemented
Date: 2009-05-08 17:10:09
Message-ID: 60065.174.6.129.141.1241802609.squirrel@www.vicina.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

I run a Hibernate 3 application and get the following error. The jdba
driver is postgresql-8.3-604.jdbc3.jar. Please instruct how to resolve
this issue

Caused by: org.postgresql.util.PSQLException: Method
org.postgresql.jdbc3.Jdbc3PreparedStatement.setQueryTimeout(int) is not
yet implemented.
at org.postgresql.Driver.notImplemented(Driver.java:738)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.setQueryTimeout(AbstractJdbc2Statement.java:597)
at
org.apache.commons.dbcp.DelegatingStatement.setQueryTimeout(DelegatingStatement.java:249)
at org.hibernate.jdbc.AbstractBatcher.setTimeout(AbstractBatcher.java:555)
at
org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:538)
at
org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:452)
at
org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161)
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1573)
at org.hibernate.loader.Loader.doQuery(Loader.java:696)
at
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
at org.hibernate.loader.Loader.loadEntity(Loader.java:1881)
... 72 more

--
www.vicina.info - your local community information service

News portal - quick, easy browses more than 4,000 news entries from all
major news agencies around the world.
Community news - share your story with others in your community.
Service directory - find or review local places to eat, shop, relax, and
play.
Classified ad - post and browse free classified ads in your neighborhood.

Browse pgsql-jdbc by date

  From Date Subject
Next Message David Rees 2009-05-08 18:06:48 v604 in Maven
Previous Message John Lister 2009-05-07 19:33:56 Re: Unit test patches