From c1877f84f3596f67245abe6658b08c050bd1e686 Mon Sep 17 00:00:00 2001
From: Boris Kolpackov SQLite represents The SQLite ODB runtime library also provides support for mapping the
In Oracle empty
float
- REAL
+ NOT NULL
NULL
double
- REAL
+ NOT NULL
NULL
@@ -13894,6 +13894,14 @@ class object
+ NaN
FLOAT
values
+ as NULL
values. As a result, columns of the
+ float
and double
types are by default
+ declared as NULL
. However, you can override this by
+ explicitly declaring them as NOT NULL
with the
+ db not_null
pragma (Section
+ 12.4.6, "null/not_null
").std::vector<char>
,
std::vector<unsigned char>
,
@@ -15344,13 +15352,13 @@ class object
VARCHAR2
and NVARCHAR2
strings are represented as NULL
values. As a result,
- in the generated schema, columns of these types are declared as
- NULL
even if explicitly declared as
- NOT NULL
with the db not_null
pragma
- (Section 12.4.6, "null/not_null
"),
- except for primary key columns. This also means that for object ids
- that are mapped to these Oracle types, an empty string is an invalid
- value.std::string
type are by default declared
+ as NULL
except for primary key columns. However, you
+ can override this by explicitly declaring them as NOT NULL
+ with the db not_null
pragma (Section
+ 12.4.6, "null/not_null
"). This also means that for
+ object ids that are mapped to these Oracle types, an empty string is
+ an invalid value.
The Oracle ODB runtime library also provides support for mapping the
std::string
type to the Oracle CHAR
,
--
cgit v1.1