Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-2509

Empty StringProperty-s are loaded as null in Oracle

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5 M2
    • Fix Version/s: 1.5 RC1
    • Component/s: Storage
    • Labels:
      None
    • Environment:
      oracle
    • keywords:
      bugfixingday
    • Development Priority:
      Medium
    • Similar issues:

      Description

      The problem is that all string properties are defined as empty strings initially, and are like that as long as the data is loaded from the cache. But as we all know, Oracle doesn't like empty strings, so it converts them to NULL. And when the xobjects are loaded from the database, the string values (and large strings, and list items) are NULL.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sdumitriu Sergiu Dumitriu
              Reporter:
              sdumitriu Sergiu Dumitriu
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: