[#1968] Add org.jooq.Meta returned from Executor.meta() to return a

wrapped JDBC DatabaseMetaData object - Fixed issue with databases that
do not have any schema
This commit is contained in:
Lukas Eder 2013-01-04 15:24:02 +01:00
parent 3b89978bfd
commit 03e42f36d2

View File

@ -149,6 +149,11 @@ class MetaImpl implements Meta {
result.add(new MetaSchema(name));
}
// There should always be at least one (empty) schema in a database
if (result.isEmpty()) {
result.add(new MetaSchema(""));
}
return result;
}
catch (SQLException e) {