[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-1537) set hibernate.dialect explicitly in persistence-*.xml

Dan Allen (JIRA) jira-events at lists.jboss.org
Sat Jun 23 23:53:52 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBSEAM-1537?page=all ]

Dan Allen updated JBSEAM-1537:
------------------------------

    Attachment: JBSEAM-1537-v1.txt

The patch included adds a dialect property to the jdbc filterset.  It then assigns hibernate.dialect to @dialect@ in each of the persistence-*.xml files.

> set hibernate.dialect explicitly in persistence-*.xml
> -----------------------------------------------------
>
>                 Key: JBSEAM-1537
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1537
>             Project: JBoss Seam
>          Issue Type: Patch
>          Components: Tools
>    Affects Versions: 1.3.0.ALPHA
>         Environment: seam CVS HEAD
>            Reporter: Dan Allen
>            Priority: Minor
>         Attachments: JBSEAM-1537-v1.txt
>
>   Original Estimate: 5 minutes
>  Remaining Estimate: 5 minutes
>
> The seam-gen setup asks the user for hibernate.dialect, but then does not pass it on to the generated persistence-*.xml files. It's fun to take things in faith, but in this case it probably isn't worth it.  Hibernate can autodetect the dialect from the driver class most of the time, but it could be wrong or the lookup may be missing (as in the case of the H2 database).

-- 
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