break;
case JOB_DETAIL:
generator = new QueryGenerator(JOB_DETAIL);
generator.setParameter(JobDetailConstants.TASK_ID, taskId);
generator.setParameter(JobDetailConstants.JOB_ID, name);
q = generator.deleteQuery(em);
q.executeUpdate();
break;
case DATA_TRANSFER_DETAIL:
generator = new QueryGenerator(DATA_TRANSFER_DETAIL);
generator.setParameter(DataTransferDetailConstants.TRANSFER_ID, name);