Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-2567

TINY/MEDIUM/LONG TEXT fields for MySQL and MariaDB are not supported

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.4.4, 3.1.0
    • Component/s: jdbc
    • Labels:
      None

      Description

      All string fields annotated with @Lob are being created in MySQL DB as "TEXT" no matter of length

      Attached patch fixes this for trunk

        Attachments

        1. text_fields_3.patch
          14 kB
          Maxim Solodovnik

          Issue Links

            Activity

              People

              • Assignee:
                ilgrosso Francesco Chicchiriccò
                Reporter:
                solomax Maxim Solodovnik
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: