* dba_free_space does not exists on postgres

fix more about -> Alert processor must get only Active alerts!
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2869715
This commit is contained in:
Carlos Ruiz 2009-12-16 23:23:02 +00:00
parent c096728030
commit f4042a634b
1 changed files with 2 additions and 0 deletions

View File

@ -92,6 +92,7 @@ public class MAlert extends X_AD_Alert
List <MAlertRule> list = new Query(getCtx(), MAlertRule.Table_Name, whereClause, null)
.setParameters(new Object[]{getAD_Alert_ID()})
.setOrderBy("Name, AD_AlertRule_ID")
.setOnlyActiveRecords(true)
.list()
;
for (int i = 0; i < list.size(); i ++) {
@ -117,6 +118,7 @@ public class MAlert extends X_AD_Alert
String whereClause = "AD_Alert_ID=?";
List <MAlertRecipient> list = new Query(getCtx(), MAlertRecipient.Table_Name, whereClause, null)
.setParameters(new Object[]{getAD_Alert_ID()})
.setOnlyActiveRecords(true)
.list()
;
//