Dear all,
I just replaced my h2db jar from 1.4.195 to 2.0.206 and it is failing in db
connection.
org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain
JDBC Connection; nested exception is org.h2.jdbc.JdbcSQLException: Version
mismatch, driver version is "0" but server version is "16" [90047-195]
at
org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
at org.h2.message.DbException.get(DbException.java:179)
at org.h2.server.TcpServerThread.run(TcpServerThread.java:89)
at java.lang.Thread.run(Thread.java:748)
at
org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:82)
~[spring-jdbc-5.2.15.RELEASE.jar:5.2.15.RELEASE]
at
org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:612)
~[spring-jdbc-5.2.15.RELEASE.jar:5.2.15.RELEASE]
at
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:669)
~[spring-jdbc-5.2.15.RELEASE.jar:5.2.15.RELEASE]
at
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:700)
~[spring-jdbc-5.2.15.RELEASE.jar:5.2.15.RELEASE]
at
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:712)
~[spring-jdbc-5.2.15.RELEASE.jar:5.2.15.RELEASE]
at
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:763)
~[spring-jdbc-5.2.15.RELEASE.jar:5.2.15.RELEASE]
--
You received this message because you are subscribed to the Google Groups "H2
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/h2-database/993b592c-e4c7-4b59-81d5-ffcd75912e71n%40googlegroups.com.