akarshan2701 / h2database

Automatically exported from code.google.com/p/h2database
0 stars 0 forks source link

Incorrect DatabaseMetaData.getJDBCMajorVersion #230

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
AFAICT org.h2.jdbc.JdbcDatabaseMetaData uses some form of preprocessor to 
differentiate JDBC 3 and JDBC 4.  However it hard-codes its return for 
getJDBCMajorVersion() as '3'.  Though perhaps I am just totally missing 
something wrt getting the correct version.  I am using the artifact located in 
the Maven repository : http://repo1.maven.org/maven2/com/h2database/h2/1.2.143/

Original issue reported on code.google.com by steven.e...@gmail.com on 22 Sep 2010 at 9:37

GoogleCodeExporter commented 8 years ago
This will be fixed in the next release. getJDBCMajorVersion() will return '4' 
(unless if you build the jar file with Java 5; in that case it will return '3' 
- but the default jar file is built using Java 6).

Original comment by thomas.t...@gmail.com on 24 Sep 2010 at 4:38

GoogleCodeExporter commented 8 years ago
Fixed in version 1.2.144

Original comment by thomas.t...@gmail.com on 15 Oct 2010 at 6:27