mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Merged V2.2 to HEAD
8372: Merged V2.1 to V2.2 8314: Merged V2.0 to V2.1 7750: Fix for ACT-475: ContentStoreCleaner causes OutOfMemoryError 8332: Made content URL column larger to accommodate the extra locale info present in 2.1 8334: Build fix: V2.1 tighter on authentication for getTempWriter 8376: Merged V2.1 to V2.2 8325: Fix for AWC-1089 8361: Workaround for WCM-882: All metadata extracters can now handle zero length files git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8497 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
|
||||
<!DOCTYPE hibernate-mapping PUBLIC
|
||||
'-//Hibernate/Hibernate Mapping DTD 3.0//EN'
|
||||
'http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd'>
|
||||
|
||||
<hibernate-mapping>
|
||||
|
||||
<class
|
||||
name="org.alfresco.repo.domain.hibernate.ContentUrlImpl"
|
||||
proxy="org.alfresco.repo.domain.ContentUrl"
|
||||
table="alf_content_url"
|
||||
dynamic-update="false"
|
||||
dynamic-insert="false"
|
||||
select-before-update="false"
|
||||
optimistic-lock="none" >
|
||||
<!-- auto-generated ID -->
|
||||
<id name="id" column="id" type="long" >
|
||||
<generator class="increment" />
|
||||
</id>
|
||||
<property name="contentUrl" column="content_url" type="string" length="240" not-null="true" index="idx_alf_con_urls" />
|
||||
<!--
|
||||
<property name="isOrphaned" column="is_orphaned" type="boolean" not-null="true" />
|
||||
-->
|
||||
</class>
|
||||
|
||||
<query name="contentUrl.GetAll">
|
||||
select
|
||||
entity.contentUrl
|
||||
from
|
||||
org.alfresco.repo.domain.hibernate.ContentUrlImpl entity
|
||||
</query>
|
||||
|
||||
<query name="contentUrl.DeleteInList">
|
||||
delete
|
||||
from
|
||||
org.alfresco.repo.domain.hibernate.ContentUrlImpl entity
|
||||
where
|
||||
entity.contentUrl in (:contentUrls)
|
||||
</query>
|
||||
|
||||
<query name="contentUrl.DeleteByUrl">
|
||||
delete
|
||||
from
|
||||
org.alfresco.repo.domain.hibernate.ContentUrlImpl entity
|
||||
where
|
||||
entity.contentUrl = :contentUrl
|
||||
</query>
|
||||
|
||||
<query name="contentUrl.DeleteAll">
|
||||
delete
|
||||
from
|
||||
org.alfresco.repo.domain.hibernate.ContentUrlImpl entity
|
||||
</query>
|
||||
|
||||
</hibernate-mapping>
|
Reference in New Issue
Block a user