Merged V2.2 to HEAD

8205: Benchmark fixes
   8212: AR-1663: OnCopyCompletePolicy is only being executed once per transaction, and not once per node being copied.
   8250: Test for long strings
   8251: Stopped chiba:match function from being generated into xforms constraints in XForms model bindings. see WCM-952.
   8260: AVMServiceTest is mostly repeatable without doing a clean bootstrap.
   8266: Andy Hind supplied replacement for query used in AVMNode GC.
   8267: Fix for AR-1909 - Updated Openoffice bootstrap for installer
   8270: Fix for WCM-1070
   8271: Fix for WCM-1007
   8284: AR-2069: WebService tickets are expired when upload and download sessions they have used are timed out
   8287: Fix for WCM-499


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8484 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2008-03-10 16:37:15 +00:00
parent a118105ed7
commit e35e582a95
6 changed files with 49 additions and 4 deletions

View File

@@ -148,7 +148,7 @@ class AVMNodeDAOHibernate extends HibernateDaoSupport implements
@SuppressWarnings("unchecked")
public List<AVMNode> getOrphans(int batchSize)
{
Query query = getSession().getNamedQuery("FindOrphans");
Query query = getSession().getNamedQuery("FindOrphans2");
query.setMaxResults(batchSize);
return (List<AVMNode>)query.list();
}