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

Use "text" instead of "string" in the hibernate mapping, where appropriate

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Duplicate
    • Major
    • None
    • 1.2
    • Storage
    • None

    Description

      Technically, "string" should be used for small text values (at most 255 characters), because it is mapped to the VARCHAR datatype, which is limited in most databases to at most 255 characters. This is one of the main reasons why we have separate mapping files for oracle and derby.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: