From the function's comments "Returns the column length in bytes",
case java.sql.Types.VARCHAR: colLength = this.collength / 3; break;
it should not be divided by 3. Update to:
case java.sql.Types.VARCHAR: colLength = this.collength; break;
From the function's comments "Returns the column length in bytes",
case java.sql. Types.VARCHAR:
colLength = this.collength / 3;
break;
it should not be divided by 3. Update to:
case java.sql. Types.VARCHAR:
colLength = this.collength;
break;