Skip to content

Commit

Permalink
Data browser tables are now sortable
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.code.sf.net/p/jailer/code/trunk@1121 3dd849cd-670e-4645-a7cd-dd197c8d0e81
  • Loading branch information
rwisser committed Dec 19, 2016
1 parent be84762 commit 9019b13
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,17 @@ public static ResultSet getColumns(Session session, DatabaseMetaData metaData, S
try {
return metaData.getColumns(null, schemaPattern, tableNamePattern, columnNamePattern);
} catch (Exception e) {
throw new RuntimeException("Error in getColumns(): schemaPattern=" + schemaPattern + ", tableNamePattern=" + tableNamePattern + ", columnNamePattern=" + columnNamePattern, e);
String catalogs = "";
try {
ResultSet r = metaData.getCatalogs();
while (r.next()) {
catalogs += r.getString(1) + " ";
}
r.close();
} catch (Exception e2) {
catalogs += "?";
}
throw new RuntimeException("Error in getColumns(): catalogs= " + catalogs + ", schemaPattern=" + schemaPattern + ", tableNamePattern=" + tableNamePattern + ", columnNamePattern=" + columnNamePattern, e);
}
}

Expand Down

0 comments on commit 9019b13

Please sign in to comment.