src/sql/drivers/oci/qsql_oci.cpp
changeset 19 fcece45ef507
parent 18 2f34d5167611
child 30 5dc02b23752f
equal deleted inserted replaced
18:2f34d5167611 19:fcece45ef507
   515                 break;
   515                 break;
   516         }
   516         }
   517     }
   517     }
   518     else if (ocitype == QLatin1String("LONG") || ocitype == QLatin1String("NCLOB")
   518     else if (ocitype == QLatin1String("LONG") || ocitype == QLatin1String("NCLOB")
   519              || ocitype == QLatin1String("CLOB"))
   519              || ocitype == QLatin1String("CLOB"))
   520         type = QVariant::String;
   520         type = QVariant::ByteArray;
   521     else if (ocitype == QLatin1String("RAW") || ocitype == QLatin1String("LONG RAW")
   521     else if (ocitype == QLatin1String("RAW") || ocitype == QLatin1String("LONG RAW")
   522              || ocitype == QLatin1String("ROWID") || ocitype == QLatin1String("BLOB")
   522              || ocitype == QLatin1String("ROWID") || ocitype == QLatin1String("BLOB")
   523              || ocitype == QLatin1String("CFILE") || ocitype == QLatin1String("BFILE"))
   523              || ocitype == QLatin1String("CFILE") || ocitype == QLatin1String("BFILE"))
   524         type = QVariant::ByteArray;
   524         type = QVariant::ByteArray;
   525     else if (ocitype == QLatin1String("DATE") ||  ocitype.startsWith(QLatin1String("TIME")))
   525     else if (ocitype == QLatin1String("DATE") ||  ocitype.startsWith(QLatin1String("TIME")))
   541     case SQLT_AFC:
   541     case SQLT_AFC:
   542     case SQLT_VCS:
   542     case SQLT_VCS:
   543     case SQLT_AVC:
   543     case SQLT_AVC:
   544     case SQLT_RDD:
   544     case SQLT_RDD:
   545     case SQLT_LNG:
   545     case SQLT_LNG:
   546     case SQLT_CLOB:
       
   547 #ifdef SQLT_INTERVAL_YM
   546 #ifdef SQLT_INTERVAL_YM
   548     case SQLT_INTERVAL_YM:
   547     case SQLT_INTERVAL_YM:
   549 #endif
   548 #endif
   550 #ifdef SQLT_INTERVAL_DS
   549 #ifdef SQLT_INTERVAL_DS
   551     case SQLT_INTERVAL_DS:
   550     case SQLT_INTERVAL_DS:
   579     case SQLT_BIN:
   578     case SQLT_BIN:
   580     case SQLT_LBI:
   579     case SQLT_LBI:
   581     case SQLT_LVC:
   580     case SQLT_LVC:
   582     case SQLT_LVB:
   581     case SQLT_LVB:
   583     case SQLT_BLOB:
   582     case SQLT_BLOB:
       
   583     case SQLT_CLOB:
   584     case SQLT_FILE:
   584     case SQLT_FILE:
   585     case SQLT_NTY:
   585     case SQLT_NTY:
   586     case SQLT_REF:
   586     case SQLT_REF:
   587     case SQLT_RID:
   587     case SQLT_RID:
   588         type = QVariant::ByteArray;
   588         type = QVariant::ByteArray;