public boolean isComposedJobExecution(long jobExecutionId) {
		String query = getQuery("select count(*) from %PREFIX%JOB_EXECUTION_PARAMS a where key_name = '"
				+ JobLaunchingTasklet.XD_PARENT_JOB_EXECUTION_ID + "' and string_val = ?");
		int count = getJdbcTemplate().queryForObject(query, Integer.class, String.valueOf(jobExecutionId));
		return count > 0 ? true : false;
	}
@param jobExecutionId the execution id.
@return the list of {@link JobExecution}s.
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/job/dao/XdJdbcSearchableJobExecutionDao.java