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.hxx16
1 files changed, 14 insertions, 2 deletions
diff --git a/qt/oracle/basic/test.hxx b/qt/oracle/basic/test.hxx
index 979e11f..6a3e788 100644
--- a/qt/oracle/basic/test.hxx
+++ b/qt/oracle/basic/test.hxx
@@ -16,7 +16,10 @@ struct object
operator== (const object& x) const
{
return
- varchar == x.varchar &&
+ varchar2 == x.varchar2 &&
+ char_ == x.char_ &&
+ nchar == x.nchar &&
+ nvarchar2 == x.nvarchar2 &&
clob == x.clob &&
nclob == x.nclob &&
blob == x.blob &&
@@ -24,7 +27,16 @@ struct object
}
#pragma db id
- QString varchar;
+ QString varchar2;
+
+ #pragma db type ("CHAR(13)")
+ QString char_;
+
+ #pragma db type ("NCHAR(13)")
+ QString nchar;
+
+ #pragma db type ("NVARCHAR2(512)")
+ QString nvarchar2;
#pragma db type ("CLOB")
QString clob;