xObj.setUpdateTime(parentObj.getUpdateTime());
xObj.setAddedByUserId(parentObj.getAddedByUserId());
xObj.setUpdatedByUserId(parentObj.getUpdatedByUserId());
return xObj;
}
<BUG>public T populateAuditFieldsForCreate(T xObj) {
</BUG>
xObj.setCreateTime(DateUtil.getUTCDate());
xObj.setUpdateTime(DateUtil.getUTCDate());
xObj.setAddedByUserId(ContextUtil.getCurrentUserId());

xObj.setUpdateTime(parentObj.getUpdateTime());
xObj.setAddedByUserId(parentObj.getAddedByUserId());
xObj.setUpdatedByUserId(parentObj.getUpdatedByUserId());
return xObj;
}
public <T extends XXDBBase> T populateAuditFieldsForCreate(T xObj) {
xObj.setCreateTime(DateUtil.getUTCDate());
xObj.setUpdateTime(DateUtil.getUTCDate());
xObj.setAddedByUserId(ContextUtil.getCurrentUserId());
