Thread: setQueryTimeout(int) is not yet implemented

setQueryTimeout(int) is not yet implemented

From
"Vernon"
Date:
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.