Vaibhav95g / h2database

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

JdbcDatabaseMetaData#getSchemas() no longer supported as of 1.3.169 #438

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A call to JdbcDatabaseMetaData#getSchemas(null, "test") results in the 
following exception stack with H2 1.3.169 and 1.3.170:

org.h2.jdbc.JdbcSQLException: Feature not supported: "getSchemas(., .)" 
[50100-169]
    at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
    at org.h2.message.DbException.get(DbException.java:169)
    at org.h2.message.DbException.get(DbException.java:146)
    at org.h2.message.DbException.getUnsupportedException(DbException.java:204)
    at org.h2.message.TraceObject.unsupported(TraceObject.java:391)
    at org.h2.jdbc.JdbcDatabaseMetaData.getSchemas(JdbcDatabaseMetaData.java:2815)

The same call with version 1.3.168 works fine.

Original issue reported on code.google.com by ljnelson on 7 Feb 2013 at 11:28

GoogleCodeExporter commented 9 years ago
I apologize; the subject should have indicated that it is the two-argument form 
of the method that is causing the error.

Original comment by ljnelson on 7 Feb 2013 at 11:36

GoogleCodeExporter commented 9 years ago
Fixed in rev 4659

Original comment by noelgrandin on 8 Feb 2013 at 8:05