* remove derby and fyracle from trunk
This commit is contained in:
parent
f4339789de
commit
d86f009afd
|
@ -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())
|
||||
|
|
|
@ -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(")");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue