Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-88

JPA settings not correct in persistence.xml

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.Beta2
    • None
    • Java EE
    • None

      With the following command the generated settings in persistence.xml are not correct. This might also be the case for other databases and settings, but I didn't test that yet.

       persistence setup --provider HIBERNATE --container JBOSS_AS6 --database MYSQL_INNODB --jndiDataSource java:demo
      

      It sets the datasource to: java:/DefaultDS (should be java:demo)
      It sets the hibernate dialect to: org.hibernate.dialect.HSQLDialect (which should be MySQL5InnoDBDialect)

              lincolnthree Lincoln Baxter III (Inactive)
              pbakker_jira Paul Bakker (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: