[jboss-cvs] jboss-portal/core/src/resources/portal-cms-sar/conf/hibernate/cms ...
Julien Viet
julien at jboss.com
Mon Aug 14 09:24:37 EDT 2006
User: julien
Date: 06/08/14 09:24:37
Modified: core/src/resources/portal-cms-sar/conf/hibernate/cms
domain.hbm.xml hibernate.cfg.xml
Log:
disable blob caching for 2.4 final
Revision Changes Path
1.3 +11 -22 jboss-portal/core/src/resources/portal-cms-sar/conf/hibernate/cms/domain.hbm.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: domain.hbm.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-portal/core/src/resources/portal-cms-sar/conf/hibernate/cms/domain.hbm.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- domain.hbm.xml 31 Jul 2006 21:43:03 -0000 1.2
+++ domain.hbm.xml 14 Aug 2006 13:24:37 -0000 1.3
@@ -4,7 +4,6 @@
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="org.jboss.portal.cms.hibernate.state.VersionBinVal" table="jbp_cms_version_binval" lazy="true">
- <cache usage="read-write"/>
<id
name="key"
column="PK"
@@ -19,12 +18,11 @@
<property
name="data"
column="BINVAL_DATA"
- type="org.jboss.portal.jems.hibernate.CacheableBlobUserType"
+ type="blob"
length="100000000"
not-null="true"/>
</class>
<class name="org.jboss.portal.cms.hibernate.state.VersionNode" table="jbp_cms_version_node" lazy="true">
- <cache usage="read-write"/>
<id
name="key"
column="PK"
@@ -39,12 +37,11 @@
<property
name="data"
column="NODE_DATA"
- type="org.jboss.portal.jems.hibernate.CacheableBlobUserType"
+ type="blob"
length="100000000"
not-null="true"/>
</class>
<class name="org.jboss.portal.cms.hibernate.state.VersionProp" table="jbp_cms_version_prop" lazy="true">
- <cache usage="read-write"/>
<id
name="key"
column="PK"
@@ -59,12 +56,11 @@
<property
name="data"
column="PROP_DATA"
- type="org.jboss.portal.jems.hibernate.CacheableBlobUserType"
+ type="blob"
length="100000000"
not-null="true"/>
</class>
<class name="org.jboss.portal.cms.hibernate.state.VersionRefs" table="jbp_cms_version_refs" lazy="true">
- <cache usage="read-write"/>
<id
name="key"
column="PK"
@@ -79,12 +75,11 @@
<property
name="data"
column="REFS_DATA"
- type="org.jboss.portal.jems.hibernate.CacheableBlobUserType"
+ type="blob"
length="100000000"
not-null="true"/>
</class>
<class name="org.jboss.portal.cms.hibernate.state.WSPBinVal" table="jbp_cms_wsp_binval" lazy="true">
- <cache usage="read-write"/>
<id
name="key"
column="PK"
@@ -99,12 +94,11 @@
<property
name="data"
column="BINVAL_DATA"
- type="org.jboss.portal.jems.hibernate.CacheableBlobUserType"
+ type="blob"
length="100000000"
not-null="true"/>
</class>
<class name="org.jboss.portal.cms.hibernate.state.WSPNode" table="jbp_cms_wsp_node" lazy="true">
- <cache usage="read-write"/>
<id
name="key"
column="PK"
@@ -119,12 +113,11 @@
<property
name="data"
column="NODE_DATA"
- type="org.jboss.portal.jems.hibernate.CacheableBlobUserType"
+ type="blob"
length="100000000"
not-null="true"/>
</class>
<class name="org.jboss.portal.cms.hibernate.state.WSPProp" table="jbp_cms_wsp_prop" lazy="true">
- <cache usage="read-write"/>
<id
name="key"
column="PK"
@@ -139,12 +132,11 @@
<property
name="data"
column="PROP_DATA"
- type="org.jboss.portal.jems.hibernate.CacheableBlobUserType"
+ type="blob"
length="100000000"
not-null="true"/>
</class>
<class name="org.jboss.portal.cms.hibernate.state.WSPRefs" table="jbp_cms_wsp_refs" lazy="true">
- <cache usage="read-write"/>
<id
name="key"
column="PK"
@@ -159,12 +151,11 @@
<property
name="data"
column="REFS_DATA"
- type="org.jboss.portal.jems.hibernate.CacheableBlobUserType"
+ type="blob"
length="100000000"
not-null="true"/>
</class>
<class name="org.jboss.portal.cms.hibernate.CMSEntry" table="jbp_cms_cmsentry" lazy="true">
- <cache usage="read-write"/>
<id
name="key"
column="PK"
@@ -184,7 +175,7 @@
length="245"/>
<property name="data"
column="FSENTRY_DATA"
- type="org.jboss.portal.jems.hibernate.CacheableBlobUserType"
+ type="blob"
length="100000000"
not-null="false"/>
<property name="lastmod"
@@ -197,7 +188,6 @@
not-null="true"/>
</class>
<class name="org.jboss.portal.cms.hibernate.RepositoryEntry" table="jbp_cms_repositoryentry" lazy="true">
- <cache usage="read-write"/>
<id
name="key"
column="PK"
@@ -217,7 +207,7 @@
length="245"/>
<property name="data"
column="FSENTRY_DATA"
- type="org.jboss.portal.jems.hibernate.CacheableBlobUserType"
+ type="blob"
length="100000000"
not-null="false"/>
<property name="lastmod"
@@ -230,7 +220,6 @@
not-null="true"/>
</class>
<class name="org.jboss.portal.cms.hibernate.VersionEntry" table="jbp_cms_versionentry" lazy="true">
- <cache usage="read-write"/>
<id
name="key"
column="PK"
@@ -250,7 +239,7 @@
length="245"/>
<property name="data"
column="FSENTRY_DATA"
- type="org.jboss.portal.jems.hibernate.CacheableBlobUserType"
+ type="blob"
length="100000000"
not-null="false"/>
<property name="lastmod"
1.3 +2 -2 jboss-portal/core/src/resources/portal-cms-sar/conf/hibernate/cms/hibernate.cfg.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: hibernate.cfg.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-portal/core/src/resources/portal-cms-sar/conf/hibernate/cms/hibernate.cfg.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- hibernate.cfg.xml 31 Jul 2006 21:43:03 -0000 1.2
+++ hibernate.cfg.xml 14 Aug 2006 13:24:37 -0000 1.3
@@ -6,8 +6,8 @@
<session-factory>
<property name="connection.datasource">java:@portal.datasource.name@</property>
<property name="show_sql">@portal.sql.show@</property>
- <property name="cache.use_second_level_cache">true</property>
- <property name="cache.use_query_cache">true</property>
+ <property name="cache.use_second_level_cache">false</property>
+ <property name="cache.use_query_cache">false</property>
<!-- Force the dialect instead of using autodetection -->
<!--
More information about the jboss-cvs-commits
mailing list