// Make a new copy of the forms from the framework,
// else the values will get set in the forms in the connector for
// each connection.
List<MForm> forms = framework.getJobForms(job.getType()).clone(false).getForms();
MJobForms newJobForms = new MJobForms(job.getType(), forms);
upgrader.upgrade(job.getFrameworkPart(), newJobForms);
MJob newJob = new MJob(job.getConnectorId(), job.getConnectionId(),
job.getType(), job.getConnectorPart(), newJobForms);
newJob.setPersistenceId(job.getPersistenceId());
// Transform form structures to objects for validations