sagarswathi / h2database

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

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

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 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 8 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 8 years ago
Fixed in rev 4659

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