"where deploymentProperty.key = '" + DeploymentImpl.KEY_PROCESS_DEFINITION_ID + "' " +
" and deploymentProperty.stringValue = '" + processDefinitionId + "' "
);
query.setCacheable(true);
query.setMaxResults(1);
DeploymentProperty deploymentProperty = (DeploymentProperty) query.uniqueResult();
return deploymentProperty;
}