ResourcePersistence resourceManager = ProcessObjectFactory.FACTORYINSTANCE.createResourcePersistence(connection);
resourceManager.insertResource(persistentObject);
}
if (insertStatement.equals("insertProcessDefinition")) {
ProcessDefinitionPersistence processDefinitionPersistence = ProcessObjectFactory.FACTORYINSTANCE.createProcessDefinitionPersistence(connection);
processDefinitionPersistence.insertProcessDefinition(persistentObject);
}
}
@SuppressWarnings("unchecked")