[hibernate-commits] Hibernate SVN: r14046 - core/branches/Branch_3_2/src/org/hibernate/dialect.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Tue Oct 2 22:56:43 EDT 2007


Author: steve.ebersole at jboss.com
Date: 2007-10-02 22:56:43 -0400 (Tue, 02 Oct 2007)
New Revision: 14046

Modified:
   core/branches/Branch_3_2/src/org/hibernate/dialect/DialectFactory.java
Log:
HHH-2682 : H2 dialect auto-discovery support

Modified: core/branches/Branch_3_2/src/org/hibernate/dialect/DialectFactory.java
===================================================================
--- core/branches/Branch_3_2/src/org/hibernate/dialect/DialectFactory.java	2007-10-03 02:51:31 UTC (rev 14045)
+++ core/branches/Branch_3_2/src/org/hibernate/dialect/DialectFactory.java	2007-10-03 02:56:43 UTC (rev 14046)
@@ -113,6 +113,7 @@
 	static {
 		// TODO : this is the stuff it'd be nice to move to a properties file or some other easily user-editable place
 		MAPPERS.put( "HSQL Database Engine", new VersionInsensitiveMapper( "org.hibernate.dialect.HSQLDialect" ) );
+		MAPPERS.put( "H2", new VersionInsensitiveMapper( "org.hibernate.dialect.H2Dialect" ) );
 		MAPPERS.put( "DB2/NT", new VersionInsensitiveMapper( "org.hibernate.dialect.DB2Dialect" ) );
 		MAPPERS.put( "DB2/LINUX", new VersionInsensitiveMapper( "org.hibernate.dialect.DB2Dialect" ) );
 		MAPPERS.put( "MySQL", new VersionInsensitiveMapper( "org.hibernate.dialect.MySQLDialect" ) );




More information about the hibernate-commits mailing list