### Eclipse Workspace Patch 1.0 #P hibernateext.tools Index: src/java/org/hibernate/cfg/reveng/dialect/HSQLMetaDataDialect.java =================================================================== --- src/java/org/hibernate/cfg/reveng/dialect/HSQLMetaDataDialect.java (revision 18624) +++ src/java/org/hibernate/cfg/reveng/dialect/HSQLMetaDataDialect.java (working copy) @@ -49,7 +49,7 @@ String table = tableRs.getString("TABLE_NAME"); String fullTableName = Table.qualify(cat, sc, quote(table)); - String sql ="SELECT * FROM " + fullTableName + " WHERE FALSE"; + String sql ="SELECT * FROM " + fullTableName + " WHERE 0>1"; boolean isAutoIncrement = false; PreparedStatement statement = null; @@ -67,6 +67,8 @@ if (isAutoIncrement) break; } + } catch(SQLException e) { + //set HIBERNATE_STRATEGY to null } finally { if(statement!=null) { try {