mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (5.0/Cloud)
84121: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud) 82508: Merged V4.1-BUG-FIX (4.1.10) to V4.2-BUG-FIX (4.2.4) 82319: Merged DEV to V4.1-BUG-FIX (4.1.10) 81073 : MNT-9532 : SQL performance issue - WHERE ... IS NULL statements - Initial commit to revert fixes for MNT-8527 (r48757) and MNT-9483 (r56137) as this fixes causes performance issue for Oracle. 81966 : MNT-9532 : SQL performance issue - WHERE ... IS NULL statements - Default value for feed_user_id and site_network is now @@NULL@@. - IS NULL clause was completly removed from activities queries. - Upgrade sql script was added to replace nulls for Oracle (empty strings for other dialect) with @@NULL@@. - Version schema was incremented by 1. 82278 : MNT-9532 : SQL performance issue - WHERE ... IS NULL statements - Fixed unit test failure. 83431: MNT-9532 : SQL performance issue - WHERE ... IS NULL statements - Fixed build failure 84115: MNT-9532/MNT-11871: with the revert of MNT-11871 patch, MNT-9532 should be using a lower schema number. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@84632 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -46,10 +46,10 @@ public class ActivityFeedEntity
|
||||
private Long id; // internal DB-generated id
|
||||
private String activityType;
|
||||
private String activitySummary;
|
||||
private String feedUserId;
|
||||
private String feedUserId = ActivitiesDAO.KEY_ACTIVITY_NULL_VALUE;
|
||||
private String postUserId;
|
||||
private NodeRef postUserAvatarNodeRef;
|
||||
private String siteNetwork;
|
||||
private String siteNetwork = ActivitiesDAO.KEY_ACTIVITY_NULL_VALUE;
|
||||
private String appTool;
|
||||
private Date postDate;
|
||||
private Date feedDate; // for debug
|
||||
@@ -83,7 +83,10 @@ public class ActivityFeedEntity
|
||||
|
||||
public void setFeedUserId(String userid)
|
||||
{
|
||||
this.feedUserId = userid;
|
||||
if (userid != null && userid.length() > 0)
|
||||
{
|
||||
this.feedUserId = userid;
|
||||
}
|
||||
}
|
||||
|
||||
public String getPostUserId()
|
||||
@@ -103,7 +106,10 @@ public class ActivityFeedEntity
|
||||
|
||||
public void setSiteNetwork(String siteNetwork)
|
||||
{
|
||||
this.siteNetwork = siteNetwork;
|
||||
if (siteNetwork != null && siteNetwork.length() > 0)
|
||||
{
|
||||
this.siteNetwork = siteNetwork;
|
||||
}
|
||||
}
|
||||
|
||||
public String getActivityType()
|
||||
|
Reference in New Issue
Block a user