Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-1923

seam-gen does not generate "hibernate.dialect" in persistence.xml

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.0.0.BETA1
    • Fix Version/s: 2.0.0.CR2
    • Component/s: Tools
    • Labels:
      None
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      Add
      <property name="hibernate.dialect" value="@hibernate.dialect@"/>
      in the resources/META-INF/persistence-*.xml files,
      and add
      <filter token="hibernate.dialect" value="${hibernate.dialect}"/>
      in the <filterset id="jdbc"> in the build.xml file.

      Show
      Add <property name="hibernate.dialect" value="@hibernate.dialect@"/> in the resources/META-INF/persistence-*.xml files, and add <filter token="hibernate.dialect" value="${hibernate.dialect}"/> in the <filterset id="jdbc"> in the build.xml file.

      Description

      seam-gen does not generate a "hibernate.dialect" propery in persistence.xml, although the hibernate.dialect property is collected and saved in hibernate-console.properties. Therefore some hibernate mappings and generated code can be incorrect.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  norman.richards Norman Richards
                  Reporter:
                  simon.g Simon Gunzenreiner
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: