code: public int getScale(final int column) throws SQLException {
              final int type = getColumnType(column);
              
              if (type == -1) {
                  return 0;
              } // end of if
  
              final Integer s = Defaults.jdbcTypeScales.get(type);
  
              return (s == null) ? 0 : s;
          }
docs: {@inheritDoc}