diff options
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | doc/manual.xhtml | 4 | ||||
-rw-r--r-- | odb/relational/oracle/context.cxx | 2 |
3 files changed, 6 insertions, 3 deletions
@@ -12,6 +12,9 @@ Version 1.8.0 Value Types" in the ODB manual as well as the 'composite' example in the odb-examples package. + * Default Oracle mapping for std::string has changed from VARCHAR2(4000) + to VARCHAR2(512). + Version 1.7.0 * Support for the Oracle database. The provided connection factories diff --git a/doc/manual.xhtml b/doc/manual.xhtml index f5bf6dc..3b4ea40 100644 --- a/doc/manual.xhtml +++ b/doc/manual.xhtml @@ -12550,7 +12550,7 @@ SHOW integer_datetimes <tr> <td><code>std::string</code></td> - <td><code>VARCHAR2(4000)</code></td> + <td><code>VARCHAR2(512)</code></td> <td><code>NULL</code></td> </tr> </table> @@ -14936,7 +14936,7 @@ class Person <tr> <td><code>QString</code></td> - <td><code>VARCHAR2(4000)</code></td> + <td><code>VARCHAR2(512)</code></td> <td><code>NULL</code></td> </tr> diff --git a/odb/relational/oracle/context.cxx b/odb/relational/oracle/context.cxx index 26adfda..d3422c2 100644 --- a/odb/relational/oracle/context.cxx +++ b/odb/relational/oracle/context.cxx @@ -49,7 +49,7 @@ namespace relational {"float", "BINARY_FLOAT", 0}, {"double", "BINARY_DOUBLE", 0}, - {"::std::string", "VARCHAR2(4000)", 0}, + {"::std::string", "VARCHAR2(512)", 0}, {"::size_t", "NUMBER(20)", 0}, {"::std::size_t", "NUMBER(20)", 0} |