roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r430069 - /incubator/roller/branches/roller_3.0/metadata/database/hibernate/hibernate.cfg.xml
Date Wed, 09 Aug 2006 15:15:34 GMT
Author: snoopdave
Date: Wed Aug  9 08:15:33 2006
New Revision: 430069

URL: http://svn.apache.org/viewvc?rev=430069&view=rev
Log:
Added MySQL5 dialect (commented out)

Modified:
    incubator/roller/branches/roller_3.0/metadata/database/hibernate/hibernate.cfg.xml

Modified: incubator/roller/branches/roller_3.0/metadata/database/hibernate/hibernate.cfg.xml
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/metadata/database/hibernate/hibernate.cfg.xml?rev=430069&r1=430068&r2=430069&view=diff
==============================================================================
--- incubator/roller/branches/roller_3.0/metadata/database/hibernate/hibernate.cfg.xml (original)
+++ incubator/roller/branches/roller_3.0/metadata/database/hibernate/hibernate.cfg.xml Wed
Aug  9 08:15:33 2006
@@ -30,7 +30,7 @@
         <property name="hibernate.current_session_context_class">thread</property>
         
         
-        <!-- select SQL dialect, MySQL by default -->
+        <!-- select SQL dialect, MySQL 3.X or 4.X by default -->
         <property name="dialect">org.hibernate.dialect.MySQLDialect</property>
         <!--
         If you want to use HSQLDB, PostgreSQL, DB2 or Derby, Oracle, SQLServer then use the
right dialect   
@@ -40,6 +40,9 @@
         <property name="dialect">org.hibernate.dialect.DerbyDialect</property>
         <property name="dialect">org.hibernate.dialect.Oracle9Dialect</property>
         <property name="dialect">org.hibernate.dialect.SQLServerDialect</property>
+
+        For MySQL 5.X, use the MySQL5 dialect and J/Connector 3.1.X
+        <property name="dialect">org.hibernate.dialect.MySQL5Dialect</property>
         -->
 
         <!--



Mime
View raw message