OpenJPA
  1. OpenJPA
  2. OPENJPA-2432

MySQL dictionary can't be found from a valid connection

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0
    • Component/s: None
    • Labels:
      None

      Description

      The code to check the DB Product Version (the only way to differentiate MariaDB and MySQL through DBMeta) did not properly handle the fact that MySQL's product version string did not contain target identifier tokens. This causes MySQL auto detection to fail.

        Activity

        Romain Manni-Bucau created issue -
        Romain Manni-Bucau made changes -
        Field Original Value New Value
        Attachment openjpa-mysql-dict-guess.patch [ 12605432 ]
        Jody Grassel made changes -
        Assignee Jody Grassel [ fyrewyld ]
        Jody Grassel made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Jody Grassel made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Fix Version/s 2.3.0 [ 12319463 ]
        Resolution Fixed [ 1 ]
        Jody Grassel made changes -
        Description Because of a hack to find MariaDB dictionarry, MySQL is never found (cause found then overriden with null when looking for MariaDB from the version - MySQL rarely (never?) contains its name in the version) The code to check the DB Product Version (the only way to differentiate MariaDB and MySQL through DBMeta) did not properly handle the fact that MySQL's product version string did not contain target identifier tokens. This causes MySQL auto detection to fail.
        Jody Grassel made changes -
        Summary MySQL dictionarry can't be found from a valid connection MySQL dictionary can't be found from a valid connection
        Jody Grassel made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Jody Grassel
            Reporter:
            Romain Manni-Bucau
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development