java.sql.SQLException: Method org.postgresql.jdbc3.Jdbc3PreparedStatement.setQueryTimeout(int) is not yet implemented. How do I fix this out please help me in this. I am using postgres 9.4-1201-jdbc41 driver version and Spring jdbc 4.1.4.RELEASE Stack trace

Stack Overflow | user3715296 | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    java.sql.SQLException: Method org.postgresql.jdbc3.Jdbc3PreparedStatement.setQueryTimeout(int) is not yet implemented

    Stack Overflow | 6 months ago | user3715296
    java.sql.SQLException: Method org.postgresql.jdbc3.Jdbc3PreparedStatement.setQueryTimeout(int) is not yet implemented. How do I fix this out please help me in this. I am using postgres 9.4-1201-jdbc41 driver version and Spring jdbc 4.1.4.RELEASE Stack trace

    Root Cause Analysis

    1. java.sql.SQLException

      Method org.postgresql.jdbc3.Jdbc3PreparedStatement.setQueryTimeout(int) is not yet implemented.

      at org.postgresql.Driver.notImplemented()
    2. PostgreSQL JDBC Driver
      AbstractJdbc2Statement.setQueryTimeout
      1. org.postgresql.Driver.notImplemented(Driver.java:753)
      2. org.postgresql.jdbc2.AbstractJdbc2Statement.setQueryTimeout(AbstractJdbc2Statement.java:668)
      2 frames
    3. c3p0:JDBC DataSources/Resource Pools
      NewProxyPreparedStatement.setQueryTimeout
      1. com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.setQueryTimeout(NewProxyPreparedStatement.java:1800)
      1 frame
    4. Spring Framework
      JdbcTemplate.execute
      1. org.springframework.jdbc.datasource.DataSourceUtils.applyTimeout(DataSourceUtils.java:275)
      2. org.springframework.jdbc.core.JdbcTemplate.applyStatementSettings(JdbcTemplate.java:1399)
      3. org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:639)
      3 frames
    5. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
      1 frame