I've been running a Java (jar file) program that uses the H@ database
to read and write. It's been running great. Last time i had tried it
was 2 weeks ago and now i run it and I get the following error:
"
Exception in thread "main" org.h2.jdbc.JdbcSQLException: Version
mismatch, driver version is "current client version: 5; minimum
version: 6" but server version is {1} [90047-131]
"
This happens with all my jar files that use the H@ database.
I tried it on a new comupter where I downloaded the latest JDK and
checked that it had JRE6, and I get the same error.
Not sure what is happening, since i definitely have JRE6 on my
computer and it was working fine 2 weeks ago.
Also,running the H2 Console (Command Line) works fine on both machines
- so really not sure where the error could be coming from!
Thanks for any help on this.
Ruben
I'm no expert, but the error code indicates the version is 1.2.131 (the
-131 is the version). So I would say your client and server were running
different versions. You said you replaced a version 126 jar, so perhaps
your client was 131 and server 126? or the other way around...
I have to say the error message is a little cryptic :).
Hope this helps,
Ryan
Thanks.
The error message is wrong of course. I will fix it. It should be:
Version mismatch, driver version is 5 but server version is 6 [90047-131]
Regards,
Thomas