[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2682) support for auto-discovery of H2 dialect

Steve Ebersole (JIRA) noreply at atlassian.com
Tue Oct 2 23:00:24 EDT 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_28311 ] 

Steve Ebersole commented on HHH-2682:
-------------------------------------

As long as the driver always returns "H2" for java.sql.DatabaseMetaData#getDatabaseProductName then we'll be fine.

> support for auto-discovery of H2 dialect
> ----------------------------------------
>
>                 Key: HHH-2682
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2682
>             Project: Hibernate3
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 3.2.4.sp1
>         Environment: Hibernate 3
> EJB3 JPA
>            Reporter: Dan Allen
>            Assignee: Steve Ebersole
>             Fix For: 3.2.6, 3.3
>
>   Original Estimate: 5 minutes
>  Remaining Estimate: 5 minutes
>
> For some reason, the H2 database is not included in the dialect factory map, even though there is a Hibernate dialect available for this database.
> Please add the following to org.hibernate.dialect.DialectFactory
> MAPPERS.put( "H2", new VersionInsensitiveMapper( "org.hibernate.dialect.H2Dialect" ) );

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

        



More information about the hibernate-issues mailing list