aboutsummaryrefslogtreecommitdiff
path: root/qt/oracle/basic/test.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'qt/oracle/basic/test.hxx')
-rw-r--r--qt/oracle/basic/test.hxx18
1 files changed, 15 insertions, 3 deletions
diff --git a/qt/oracle/basic/test.hxx b/qt/oracle/basic/test.hxx
index 25710c0..979e11f 100644
--- a/qt/oracle/basic/test.hxx
+++ b/qt/oracle/basic/test.hxx
@@ -16,14 +16,26 @@ struct object
operator== (const object& x) const
{
return
- str == x.str &&
- blob == x.blob;
+ varchar == x.varchar &&
+ clob == x.clob &&
+ nclob == x.nclob &&
+ blob == x.blob &&
+ raw == x.raw;
}
#pragma db id
- QString str;
+ QString varchar;
+
+ #pragma db type ("CLOB")
+ QString clob;
+
+ #pragma db type ("NCLOB")
+ QString nclob;
QByteArray blob;
+
+ #pragma db type ("RAW(128)")
+ QByteArray raw;
};
#endif // TEST_HXX