You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by sn...@apache.org on 2006/05/01 02:08:35 UTC
svn commit: r398468 - in /incubator/roller/trunk/sandbox/standalone/tomcat:
common/classes/roller-custom.properties
webapps/roller/WEB-INF/classes/hibernate.cfg.xml
Author: snoopdave
Date: Sun Apr 30 17:08:33 2006
New Revision: 398468
URL: http://svn.apache.org/viewcvs?rev=398468&view=rev
Log:
Updating for 2.3
Modified:
incubator/roller/trunk/sandbox/standalone/tomcat/common/classes/roller-custom.properties
incubator/roller/trunk/sandbox/standalone/tomcat/webapps/roller/WEB-INF/classes/hibernate.cfg.xml
Modified: incubator/roller/trunk/sandbox/standalone/tomcat/common/classes/roller-custom.properties
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/sandbox/standalone/tomcat/common/classes/roller-custom.properties?rev=398468&r1=398467&r2=398468&view=diff
==============================================================================
--- incubator/roller/trunk/sandbox/standalone/tomcat/common/classes/roller-custom.properties (original)
+++ incubator/roller/trunk/sandbox/standalone/tomcat/common/classes/roller-custom.properties Sun Apr 30 17:08:33 2006
@@ -2,6 +2,7 @@
search.index.dir=${user.home}/roller_index
planet.aggregator.enabled=true
planet.aggregator.cache.dir=${catalina.home}/cache
+webservices.atomprotocol.enabled=true
editor.theme=tan
tasks.daily=org.roller.presentation.TurnoverReferersTask,org.roller.presentation.planet.SyncWebsitesTask
tasks.hourly=org.roller.presentation.planet.RefreshEntriesTask
Modified: incubator/roller/trunk/sandbox/standalone/tomcat/webapps/roller/WEB-INF/classes/hibernate.cfg.xml
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/sandbox/standalone/tomcat/webapps/roller/WEB-INF/classes/hibernate.cfg.xml?rev=398468&r1=398467&r2=398468&view=diff
==============================================================================
--- incubator/roller/trunk/sandbox/standalone/tomcat/webapps/roller/WEB-INF/classes/hibernate.cfg.xml (original)
+++ incubator/roller/trunk/sandbox/standalone/tomcat/webapps/roller/WEB-INF/classes/hibernate.cfg.xml Sun Apr 30 17:08:33 2006
@@ -11,8 +11,17 @@
<property name="hibernate.connection.username">sa</property>
<property name="hibernate.connection.password"></property>
<property name="hibernate.dialect">org.hibernate.dialect.HSQLDialect</property>
+
+
+ <!-- use thread local Session context -->
+ <property name="hibernate.current_session_context_class">thread</property>
- <mapping resource="org/roller/business/HitCountData.hbm.xml" />
+ <!-- Hibernate L2 Caching -->
+ <property name="hibernate.cache.provider_class">org.hibernate.cache.EhCacheProvider</property>
+ <property name="hibernate.generate_statistics">true</property>
+ <property name="hibernate.cache.use_structured_entries">true</property>
+
+ <!-- Map Roller pojo classes -->
<mapping resource="org/roller/pojos/BookmarkData.hbm.xml" />
<mapping resource="org/roller/pojos/CommentData.hbm.xml" />
<mapping resource="org/roller/pojos/EntryAttributeData.hbm.xml" />