Changes between Version 7 and Version 8 of OracleBranch


Ignore:
Timestamp:
05/16/2007 01:08:58 PM (8 years ago)
Author:
bouldersprinters
Comment:

Documented the change in the way empty strings are stored

Legend:

Unmodified
Added
Removed
Modified
  • OracleBranch

    v7 v8  
    7373=== Empty strings ===
    7474
    75 Django generally prefers to use the empty string (!'') rather than NULL, but Oracle treats the empty string as NULL.  To get around this, the oracle backend silently changes !'' to ' ' when saving data. The inverse operation is automatically performed by !OracleQuerySet.resolve_columns when fetching from the database.
     75Django generally prefers to use the empty string (!'') rather than NULL, but Oracle treats the empty string as NULL.  To get around this, the Oracle backend coerces the null=True option on fields that permit the empty string as a value. When fetching from the database, it is assumed that a NULL value in one of these fields really means the empty string, and the data is silently converted to reflect this assumption.
    7676
    7777=== Datetime conversion ===
Back to Top