rec.setFireInstanceId(rs.getString(COL_ENTRY_ID.toLowerCase()));
rec.setFireInstanceState(rs.getString(COL_ENTRY_STATE.toLowerCase()));
rec.setFireTimestamp(rs.getLong(COL_FIRED_TIME.toLowerCase()));
rec.setSchedulerInstanceId(rs.getString(COL_INSTANCE_NAME.toLowerCase()));
rec.setTriggerIsVolatile(getBoolean(rs, COL_IS_VOLATILE.toLowerCase()));
rec.setTriggerKey(new Key(rs.getString(COL_TRIGGER_NAME.toLowerCase()), rs
.getString(COL_TRIGGER_GROUP.toLowerCase())));
if (!rec.getFireInstanceState().equals(STATE_ACQUIRED)) {
rec.setJobIsStateful(getBoolean(rs, COL_IS_STATEFUL.toLowerCase()));
rec.setJobRequestsRecovery(rs
.getBoolean(COL_REQUESTS_RECOVERY.toLowerCase()));
rec.setJobKey(new Key(rs.getString(COL_JOB_NAME.toLowerCase()), rs
.getString(COL_JOB_GROUP.toLowerCase())));
}
rec.setPriority(rs.getInt(COL_PRIORITY.toLowerCase()));
lst.add(rec);
}