Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1064

Dialect auto detection does not work properly for MySQL

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 2.4.0.Final, 2.2.1.GA
    • 2.2.1.GA
    • Storage
    • None
    • Workaround Exists
    • Hide

      Explicitly specify the dialect in the source connection properties for the JPA connector.

      Show
      Explicitly specify the dialect in the source connection properties for the JPA connector.

      See result of the test JdbcConnectionTest for MySQL 5.x

      ModeShape requires InnoDB dialect but ordinary MySQL dialect is used.

      https://hudson.qa.jboss.com/hudson/view/SOA-Release/job/soa-modeshape-db-openjdk16/9/DATABASE=mysql51,jdk=openjdk-local,label=RHEL5_any/testReport/junit/org.modeshape.connector.store.jpa/JdbcConnectionTest/shouldAutoDetectDialectAndSetOnJpaSource/

      I am not sure if this causes any real harm, it may be sufficient to document that automatic detection does not work for MySQL.

              rhauch Randall Hauch (Inactive)
              jpechane Jiri Pechanec
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: