[seam-commits] Seam SVN: r9688 - trunk/examples/spring/resources/META-INF.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Mon Dec 1 17:41:36 EST 2008
Author: dan.j.allen
Date: 2008-12-01 17:41:36 -0500 (Mon, 01 Dec 2008)
New Revision: 9688
Modified:
trunk/examples/spring/resources/META-INF/persistence.xml
Log:
note about vendor-specific JDBC connection properties
Modified: trunk/examples/spring/resources/META-INF/persistence.xml
===================================================================
--- trunk/examples/spring/resources/META-INF/persistence.xml 2008-12-01 22:39:38 UTC (rev 9687)
+++ trunk/examples/spring/resources/META-INF/persistence.xml 2008-12-01 22:41:36 UTC (rev 9688)
@@ -11,11 +11,15 @@
<property name="hibernate.hbm2ddl.auto" value="create-drop"/>
<property name="hibernate.show_sql" value="true"/>
<property name="hibernate.cache.provider_class" value="org.hibernate.cache.HashtableCacheProvider"/>
- <property name="hibernate.dialect" value="org.hibernate.dialect.HSQLDialect"/><!--
+ <property name="hibernate.dialect" value="org.hibernate.dialect.HSQLDialect"/>
+
+ <!-- Enable these vendor-specific properties to setup JDBC connection here rather than in Spring configuration -->
+ <!--
<property name="hibernate.connection.driver_class" value="org.hsqldb.jdbcDriver"/>
<property name="hibernate.connection.username" value="sa"/>
<property name="hibernate.connection.password" value=""/>
<property name="hibernate.connection.url" value="jdbc:hsqldb:mem:defaultDB"/>
- --></properties>
+ -->
+ </properties>
</persistence-unit>
</persistence>
More information about the seam-commits
mailing list