diff --git a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/dataqueries/data/ResultsetColumnHeaderData.java b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/dataqueries/data/ResultsetColumnHeaderData.java index 14186892852..3e998b120c3 100644 --- a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/dataqueries/data/ResultsetColumnHeaderData.java +++ b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/dataqueries/data/ResultsetColumnHeaderData.java @@ -128,7 +128,8 @@ private boolean isLongText() { } private boolean isDecimal() { - return "decimal".equalsIgnoreCase(this.columnType); + return "decimal".equalsIgnoreCase(this.columnType) || "NEWDECIMAL".equalsIgnoreCase(this.columnType); + //Refer org.drizzle.jdbc.internal.mysql.MySQLType.java } private boolean isDate() { @@ -152,7 +153,7 @@ private boolean isVarchar() { } private boolean isAnyInteger() { - return isInt() || isSmallInt() || isTinyInt() || isMediumInt() || isBigInt(); + return isInt() || isSmallInt() || isTinyInt() || isMediumInt() || isBigInt() || isLong(); } private boolean isInt() { @@ -174,6 +175,11 @@ private boolean isMediumInt() { private boolean isBigInt() { return "bigint".equalsIgnoreCase(this.columnType); } + + private boolean isLong() { + return "LONG".equalsIgnoreCase(this.columnType) || "LONGLONG".equalsIgnoreCase(this.columnType); + //Refer org.drizzle.jdbc.internal.mysql.MySQLType.java + } private boolean isBit() { return "bit".equalsIgnoreCase(this.columnType);