roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agillil...@apache.org
Subject svn commit: r485921 - in /incubator/roller/trunk/sandbox/planetroller: src/org/apache/roller/planet/business/hibernate/ThreadLocalSessionContextNoAutoClose.java web/WEB-INF/classes/hibernate.cfg.xml
Date Mon, 11 Dec 2006 22:27:01 GMT
Author: agilliland
Date: Mon Dec 11 14:27:00 2006
New Revision: 485921

URL: http://svn.apache.org/viewvc?view=rev&rev=485921
Log:
fix package name for hibernate session context class and turn "show_sql" off.


Modified:
    incubator/roller/trunk/sandbox/planetroller/src/org/apache/roller/planet/business/hibernate/ThreadLocalSessionContextNoAutoClose.java
    incubator/roller/trunk/sandbox/planetroller/web/WEB-INF/classes/hibernate.cfg.xml

Modified: incubator/roller/trunk/sandbox/planetroller/src/org/apache/roller/planet/business/hibernate/ThreadLocalSessionContextNoAutoClose.java
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/sandbox/planetroller/src/org/apache/roller/planet/business/hibernate/ThreadLocalSessionContextNoAutoClose.java?view=diff&rev=485921&r1=485920&r2=485921
==============================================================================
--- incubator/roller/trunk/sandbox/planetroller/src/org/apache/roller/planet/business/hibernate/ThreadLocalSessionContextNoAutoClose.java
(original)
+++ incubator/roller/trunk/sandbox/planetroller/src/org/apache/roller/planet/business/hibernate/ThreadLocalSessionContextNoAutoClose.java
Mon Dec 11 14:27:00 2006
@@ -16,7 +16,7 @@
  * directory of this distribution.
  */
 
-package org.apache.roller.business.hibernate;
+package org.apache.roller.planet.business.hibernate;
 
 import org.hibernate.FlushMode;
 import org.hibernate.SessionFactory;

Modified: incubator/roller/trunk/sandbox/planetroller/web/WEB-INF/classes/hibernate.cfg.xml
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/sandbox/planetroller/web/WEB-INF/classes/hibernate.cfg.xml?view=diff&rev=485921&r1=485920&r2=485921
==============================================================================
--- incubator/roller/trunk/sandbox/planetroller/web/WEB-INF/classes/hibernate.cfg.xml (original)
+++ incubator/roller/trunk/sandbox/planetroller/web/WEB-INF/classes/hibernate.cfg.xml Mon
Dec 11 14:27:00 2006
@@ -28,11 +28,11 @@
         <!-- you can override the dialect via planet-custom.properties -->
         <property name="dialect">org.hibernate.dialect.MySQLDialect</property>
         
-        <property name="show_sql">true</property>
+        <property name="show_sql">false</property>
         
         <!-- use thread local Session context -->
         <!--<property name="hibernate.current_session_context_class">thread</property>-->
-        <property name="hibernate.current_session_context_class">org.apache.roller.business.hibernate.ThreadLocalSessionContextNoAutoClose</property>
+        <property name="hibernate.current_session_context_class">org.apache.roller.planet.business.hibernate.ThreadLocalSessionContextNoAutoClose</property>
 
         <!-- Hibernate L2 Caching -->
         <property name="hibernate.cache.provider_class">org.hibernate.cache.EhCacheProvider</property>



Mime
View raw message