changed sort of column names to sort by attnum, not attname
This commit is contained in:
parent
ec1bee1478
commit
caaf941070
@ -2309,7 +2309,7 @@ public abstract class AbstractJdbc1DatabaseMetaData
|
||||
if (columnNamePattern != null && !"".equals(columnNamePattern)) {
|
||||
sql += " AND a.attname LIKE '"+escapeQuotes(columnNamePattern)+"' ";
|
||||
}
|
||||
sql += " ORDER BY nspname,relname,attname ";
|
||||
sql += " ORDER BY nspname,relname,attnum ";
|
||||
|
||||
ResultSet rs = connection.createStatement().executeQuery(sql);
|
||||
while (rs.next())
|
||||
|
Loading…
Reference in New Issue
Block a user