org.postgresql.jdbc4.Jdbc4PreparedStatement.setQueryTimeout(int)...错误

关于
org.postgresql.jdbc4.Jdbc4PreparedStatement.setQueryTimeout(int) is
not yet implemented.
这个错误

我的情况是在使用Spring 与 Mybatis集成时候,使用postgres链接数据库,出现的
当然,这个其实和架构的关系并不是太大

上网查了一下

方案就是去postgres官网上下载一下驱动包,换成对应安装postgresql数据库的版本

地址如下:
http://jdbc.postgresql.org/download.html

猜你喜欢

转载自liyunpeng.iteye.com/blog/1764099