* remove derby and fyracle from trunk

This commit is contained in:
Heng Sin Low 2007-04-09 15:26:12 +00:00
parent f4339789de
commit d86f009afd
2 changed files with 2 additions and 8 deletions

View File

@ -528,10 +528,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
if (where.length() > 0)
where.append(" AND ");
where.append("Created >= ");
if (DB.isDerby())
where.append("dateadd(dd,-").append(m_vo.onlyCurrentDays).append(",getdate())");
else
where.append("SysDate-").append(m_vo.onlyCurrentDays);
where.append("SysDate-").append(m_vo.onlyCurrentDays);
}
// Detail Query
if (isDetail())

View File

@ -280,10 +280,7 @@ public class GridTable extends AbstractTableModel
where.append(" AND ");
// Show only unprocessed or the one updated within x days
where.append("(Processed='N' OR Updated>");
if (DB.isDerby())
where.append("dateadd(dd,-1,getdate())");
else
where.append("SysDate-1");
where.append("SysDate-1");
where.append(")");
}