aboutsummaryrefslogtreecommitdiff
path: root/odb/qt/basic
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-01-22 14:59:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-01-22 14:59:19 +0200
commitaafa2ef3d719ce47d96e8946ecfe2bd66553854f (patch)
tree4c1df706ef632ed95ece086350f418fb5d62d410 /odb/qt/basic
parent08acfc5f7024bb42a37c6261bd10af7a8cbbad71 (diff)
Change default Oracle std::string mapping to 512 from 4000
Diffstat (limited to 'odb/qt/basic')
-rw-r--r--odb/qt/basic/oracle/default-mapping.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/qt/basic/oracle/default-mapping.hxx b/odb/qt/basic/oracle/default-mapping.hxx
index 5194b5e..08a0d7c 100644
--- a/odb/qt/basic/oracle/default-mapping.hxx
+++ b/odb/qt/basic/oracle/default-mapping.hxx
@@ -12,7 +12,7 @@
// Map QString to Oracle VARCHAR2 by default. Allow NULL values by default as
// QString provides a null representation.
//
-#pragma db value(QString) type("VARCHAR2(4000)") null
+#pragma db value(QString) type("VARCHAR2(512)") null
// Map QByteArray to Oracle BLOB by default. Allow NULL values by default as
// QByteArray provides a null representation.