Skip to content
Snippets Groups Projects
Commit 89149633 authored by srosse's avatar srosse
Browse files

OO-1548: remove the cache transactional of every *.hbm.xml

parent ffc845db
No related branches found
No related tags found
No related merge requests found
Showing
with 5 additions and 33 deletions
......@@ -4,8 +4,7 @@
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
<hibernate-mapping default-lazy="false">
<class name="org.olat.commons.info.model.InfoMessageImpl" table="o_info_message">
<cache usage="transactional" />
<id name="key" type="long" column="info_id" unsaved-value="null">
<generator class="hilo"/>
</id>
......
......@@ -4,8 +4,7 @@
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
<hibernate-mapping default-lazy="false">
<class name="org.olat.core.commons.services.mark.impl.MarkImpl" table="o_mark">
<cache usage="transactional" />
<id name="key" type="long" column="mark_id" unsaved-value="null">
<generator class="hilo"/>
</id>
......
......@@ -4,8 +4,7 @@
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
<hibernate-mapping default-lazy="false">
<class name="org.olat.core.commons.services.tagging.model.TagImpl" table="o_tag">
<cache usage="transactional" />
<id name="key" type="long" column="tag_id" unsaved-value="null">
<generator class="hilo"/>
</id>
......
......@@ -4,8 +4,7 @@
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
<hibernate-mapping default-lazy="false">
<class name="org.olat.course.assessment.model.UserEfficiencyStatementImpl" table="o_as_eff_statement">
<cache usage="transactional" />
<class name="org.olat.course.assessment.model.UserEfficiencyStatementImpl" table="o_as_eff_statement">
<id name="key" type="long" column="id" unsaved-value="null">
<generator class="hilo"/>
......@@ -44,8 +43,7 @@
cascade="none"/>
</class>
<class name="org.olat.course.assessment.model.UserEfficiencyStatementStandalone" table="o_as_eff_statement">
<cache usage="transactional" />
<class name="org.olat.course.assessment.model.UserEfficiencyStatementStandalone" table="o_as_eff_statement">
<id name="key" type="long" column="id" unsaved-value="null">
<generator class="hilo"/>
......
......@@ -5,8 +5,6 @@
<hibernate-mapping default-lazy="false">
<class name="org.olat.group.BusinessGroupImpl" table="o_gp_business">
<cache usage="transactional" />
<!--
key (see Interface org.olat.core.commons.persistence.Persistable),
lastModified (see Interface org.olat.core.commons.persistence.Auditable)
......@@ -62,7 +60,6 @@
</class>
<class name="org.olat.group.model.BusinessGroupShortImpl" table="o_gp_business" mutable="false">
<cache usage="transactional" />
<id name="key" type="long" column="group_id" unsaved-value="null">
<generator class="hilo"/>
</id>
......
......@@ -5,9 +5,6 @@
<hibernate-mapping default-lazy="false">
<class name="org.olat.group.area.BGAreaImpl" table="o_gp_bgarea">
<cache usage="transactional" />
<id name="key"
type="long"
column="area_id"
......
......@@ -3,9 +3,6 @@
<hibernate-mapping default-lazy="false">
<class name="org.olat.group.area.BGtoAreaRelationImpl" table="o_gp_bgtoarea_rel">
<cache usage="transactional" />
<id name="key"
type="long"
column="bgtoarea_id"
......
......@@ -5,7 +5,6 @@
<hibernate-mapping default-lazy="false">
<class name="org.olat.group.model.BusinessGroupViewImpl" table="o_gp_business_v" mutable="false">
<cache usage="transactional" />
<id name="key" type="long" column="group_id" unsaved-value="null">
<generator class="hilo"/>
......
......@@ -2,7 +2,6 @@
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD//EN" "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="org.olat.repository.model.RepositoryEntryShortImpl" table="o_repositoryentry" mutable="false">
<cache usage="transactional" />
<id name="key" column="repositoryentry_id" type="long" unsaved-value="null">
<generator class="hilo"/>
</id>
......
......@@ -6,8 +6,6 @@
<hibernate-mapping default-lazy="false">
<class name="org.olat.repository.model.CatalogEntryImpl" table="o_catentry">
<cache usage="transactional" />
<id name="key" column="id" type="long" unsaved-value="null">
<generator class="hilo"/>
......
......@@ -4,8 +4,6 @@
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
<hibernate-mapping default-lazy="false">
<class name="org.olat.resource.OLATResourceImpl" table="o_olatresource">
<cache usage="transactional" />
<id name="key" type="long" column="resource_id" unsaved-value="null">
<generator class="hilo"/>
......
......@@ -5,8 +5,6 @@
<hibernate-mapping default-lazy="false">
<class name="org.olat.upgrade.model.BGAreaUpgrade" table="o_gp_bgarea">
<cache usage="transactional" />
<id name="key"
type="long"
......
......@@ -5,8 +5,6 @@
<hibernate-mapping default-lazy="false">
<class name="org.olat.upgrade.model.BGResourceRelation" table="o_gp_business_to_resource">
<cache usage="transactional" />
<id name="key" type="long" column="g_id" unsaved-value="null">
<generator class="hilo"/>
</id>
......
......@@ -5,8 +5,6 @@
<hibernate-mapping default-lazy="false">
<class name="org.olat.upgrade.model.BusinessGroupUpgrade" table="o_gp_business">
<cache usage="transactional" />
<!--
key (see Interface org.olat.core.commons.persistence.Persistable),
lastModified (see Interface org.olat.core.commons.persistence.Auditable)
......
......@@ -2,8 +2,6 @@
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD//EN" "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
<hibernate-mapping default-lazy="false">
<class name="org.olat.upgrade.model.RepositoryEntryUpgrade" table="o_repositoryentry">
<cache usage="transactional" />
<id name="key" column="repositoryentry_id" type="long" unsaved-value="null">
<generator class="hilo"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment