[#5890] H2Database orders tables by ID instead of NAME

This commit is contained in:
lukaseder 2017-02-17 22:34:02 +01:00
parent c367e0bd45
commit ccefb254ad

View File

@ -302,7 +302,7 @@ public class H2Database extends AbstractDatabase {
.where(Tables.TABLE_SCHEMA.in(getInputSchemata()))
.orderBy(
Tables.TABLE_SCHEMA,
Tables.ID)
Tables.TABLE_NAME)
.fetch()) {
SchemaDefinition schema = getSchema(record.get(Tables.TABLE_SCHEMA));