Skip to content

Commit

Permalink
Added additional diagnostics when unable to collect column details
Browse files Browse the repository at this point in the history
  • Loading branch information
johncurrier committed Oct 14, 2005
1 parent a677509 commit de55cc2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/net/sourceforge/schemaspy/model/Table.java
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ private void initColumns(DatabaseMetaData meta) throws SQLException {

while (rs.next())
addColumn(rs);
} catch (SQLException exc) {
System.err.println("Failed to collect column details for table '" + getName() + "' in schema '" + getSchema() + "'");
throw exc;
} finally {
if (rs != null)
rs.close();
Expand Down

0 comments on commit de55cc2

Please sign in to comment.