def METHOD_NAME(cls, cursor, name, default_type, length, precision, scale):
    if default_type in (oracledb.CLOB, oracledb.LOB):
        return cursor.var(oracledb.LONG_STRING, 80000, cursor.arraysize)
    if default_type in (oracledb.STRING, oracledb.FIXED_CHAR):
        return cursor.var(str, length, cursor.arraysize)
    if default_type == oracledb.NUMBER:
        if scale <= 0:
            return cursor.var(
                oracledb.STRING,
                255,
                outconverter=Oracle._convert_number,
                arraysize=cursor.arraysize,
            )