if (mapping.getSize() != 0 && column.getSize() > mapping.getSize()) {
if (mapping.getSize() != 0 && column.getSizeAsInt() > mapping.getSize()) {
    protected void mapColumn(Table table, Column column) throws SQLException {        Types types = getTypes();        String name = column.getType();        int size = column.getSize();                TypeMapping mapping = types.getTypeMapping(name, size);        if (mapping == null) {            mapping = types.promote(name, size);        }        if (mapping == null) {            throw new SQLException("Column not supported: " + column);        }        if (mapping.getSize() != 0 && column.getSize() > mapping.getSize()) {            // if the target type specifies a size of zero, and the            // requested column specifies > 0, just ignore - assume that            // the type has unlimited size            throw new SQLException("Column exceeds size of type: " + column);        }        promoteColumn(table, column, mapping);    }