[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1923) seam-gen does not generate "hibernate.dialect" in persistence.xml

Dan Allen (JIRA) jira-events at lists.jboss.org
Wed Sep 26 00:10:40 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-1923?page=comments#action_12378705 ] 
            
Dan Allen commented on JBSEAM-1923:
-----------------------------------

Please note that this issue has now resolved JBSEAM-1537, which is basically a duplicate of this issue.

Specifying the hibernate dialect in the persistence.xml file is useful when:

a. There is more than one dialect available for a database, and you want to specify which one to use (such as MySQL)
b. Hibernate does not automatically detect the dialect, even though the dialect exists in the Hibernate library (such as H2)
c. You provide your own dialect for a database and want to use it as an overridden

Therefore, it makes sense to include it, even if in most cases it is redundant.

> seam-gen does not generate "hibernate.dialect" in persistence.xml
> -----------------------------------------------------------------
>
>                 Key: JBSEAM-1923
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1923
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 2.0.0.BETA1
>            Reporter: Simon Gunzenreiner
>         Assigned To: Norman Richards
>             Fix For: 2.0.0.GA
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list