title: vertica with spring jdbc template
body: <p>Hi im having trouble configuring a datasource to vertica (6.1.3) with spring (4.2.x). </p>
  
  <p>getting this error..any ideas on what i am missing?  RefMetricMappingDao extends NamedParameterJdbcDaoSupport.</p>
  
  <pre><code>&lt;bean id="dataSource2" class="org.apache.commons.dbcp2.BasicDataSource" destroy-method="close"&gt;
      &lt;property name="driverClassName" value="${vertica.driver.classname}"/&gt;
      &lt;property name="url" value="${vertica.connection.string}"/&gt;
      &lt;property name="username" value="${vertica.connection.username}"/&gt;
      &lt;property name="password" value="${vertica.connection.password}"/&gt;
  &lt;/bean&gt;
  
  
  &lt;bean name="refMetricMappingDao" class="RefMetricMappingDao"&gt;
      &lt;property name="dataSource" ref="dataSource2"/&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <blockquote>
    <p>java.lang.AbstractMethodError: com.vertica.jdbc.VerticaConnectionImpl.isValid(I)Z
        at org.apache.commons.dbcp2.DelegatingConnection.isValid(DelegatingConnection.java:918)
        at org.apache.commons.dbcp2.PoolableConnection.validate(PoolableConnection.java:283)
        at org.apache.commons.dbcp2.PoolableConnectionFactory.validateConnection(PoolableConnectionFactory.java:357)
        at org.apache.commons.dbcp2.BasicDataSource.validateConnectionFactory(BasicDataSource.java:2307)
        at org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:2290)
        at org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2039)
        at org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533)
        at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:111)
        at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:77)
        at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:615)
        at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:680)
        at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:707)
        at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:757)
        at org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate.query(NamedParameterJdbcTemplate.java:192)
        at org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate.queryForList(NamedParameterJdbcTemplate.java:250)
        at org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate.queryForList(NamedParameterJdbcTemplate.java:257)
        at </p>
  </blockquote>