From 658e968320ee1f4c3554af76fdb2fbb48fb07319 Mon Sep 17 00:00:00 2001 From: Dave Ward Date: Fri, 9 Dec 2011 12:54:10 +0000 Subject: [PATCH] ALF-11957: Merged PATCHES/V3.4.6 to HEAD 32617: ALF-11879: IMAP performance - Fix node batch loading - batch load ContentData to avoid N+1 problem with content properties - During cache preloading, use distinct transactions for each folder search, thus avoiding blowing the transactional caches 32619: ALF-11879: Fixed typo 32652: ALF-11879: Deactivate auto-versioning and auditing (and run as system) whilst setting magic IMAP aspect properties git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32673 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../content-common-SqlMap.xml | 20 ++ .../AbstractContentDataDAOImpl.java | 15 ++ .../domain/contentdata/ContentDataDAO.java | 6 + .../ibatis/ContentDataDAOImpl.java | 16 ++ .../repo/domain/node/AbstractNodeDAOImpl.java | 4 + .../alfresco/repo/imap/ImapServiceImpl.java | 197 +++++++++++------- 6 files changed, 186 insertions(+), 72 deletions(-) diff --git a/config/alfresco/ibatis/org.hibernate.dialect.Dialect/content-common-SqlMap.xml b/config/alfresco/ibatis/org.hibernate.dialect.Dialect/content-common-SqlMap.xml index dfee36c5ed..70ad88ffee 100644 --- a/config/alfresco/ibatis/org.hibernate.dialect.Dialect/content-common-SqlMap.xml +++ b/config/alfresco/ibatis/org.hibernate.dialect.Dialect/content-common-SqlMap.xml @@ -264,6 +264,26 @@ cd.id = ? + + +