aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-11-30 16:01:27 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-11-30 16:01:27 +0200
commitcc19df5f4ea35ff2240f960feefd65b3335ecdd6 (patch)
tree040333b729694d213d44bcf05935fcdb4715eecf
parent1269dad0878346e177709a0f1a4fa746bcb62563 (diff)
Add NCHAR/NVARCHAR2 default_value_traits specialization for QString
-rw-r--r--odb/qt/basic/oracle/qstring-traits.hxx13
1 files changed, 11 insertions, 2 deletions
diff --git a/odb/qt/basic/oracle/qstring-traits.hxx b/odb/qt/basic/oracle/qstring-traits.hxx
index bca7bab..e0a4616 100644
--- a/odb/qt/basic/oracle/qstring-traits.hxx
+++ b/odb/qt/basic/oracle/qstring-traits.hxx
@@ -19,8 +19,7 @@ namespace odb
{
namespace oracle
{
- template <>
- struct default_value_traits <QString, id_string>
+ struct qstring_value_traits
{
public:
typedef QString value_type;
@@ -64,6 +63,16 @@ namespace odb
}
};
+ template <>
+ struct default_value_traits <QString, id_string>: qstring_value_traits
+ {
+ };
+
+ template <>
+ struct default_value_traits <QString, id_nstring>: qstring_value_traits
+ {
+ };
+
class qstring_lob_value_traits
{
public: