diff --git a/src/net/efabrika/util/DBTablePrinter.java b/src/net/efabrika/util/DBTablePrinter.java
index b2204f7..200b95f 100644
--- a/src/net/efabrika/util/DBTablePrinter.java
+++ b/src/net/efabrika/util/DBTablePrinter.java
@@ -65,7 +65,7 @@ open source license and how to use Git and GitHub (https://github.com)
*/
public class DBTablePrinter {
- /**
+ /**
* Default maximum number of rows to query and print.
*/
private static final int DEFAULT_MAX_ROWS = 10;
@@ -84,7 +84,7 @@ public class DBTablePrinter {
/**
* Column type category for TINYINT
, SMALLINT
,
- * INT
and BIGINT
columns.
+ * INT
and BIGINT
and BIGDECIMAL
columns.
*/
public static final int CATEGORY_INTEGER = 2;
@@ -515,7 +515,6 @@ public static void printResultSet(ResultSet rs, int maxStringColWidth) {
columns and created all Column objects, iterated over the
ResultSet rows, populated the column values and adjusted
the column widths.
-
We cannot start printing just yet because we have to prepare
a row separator String.
*/
@@ -649,6 +648,7 @@ private static int whichCategory(int type) {
case Types.TINYINT:
case Types.SMALLINT:
case Types.INTEGER:
+ case Types.NUMERIC:
return CATEGORY_INTEGER;
case Types.REAL: