agave-jobs/jobs-core/src/main/java/org/iplantc/service/jobs/dao/JobDao.java
/**
	 * Merges the current cached job object with the persisted value. The 
	 * current instance is not updated. The merged instance is returned.
	 * 
	 * @param job the updated job to merge with the db version
	 * @return merged job
	 * @throws JobException if unable to merge. This is usually due to a concurrent modification issue
	 */
Merges the current cached job object with the persisted value. The
current instance is not updated. The merged instance is returned.

@param job the updated job to merge with the db version
@return merged job
@throws JobException if unable to merge. This is usually due to a concurrent modification issue
Merges the current cached job object with the persisted value . The current instance is not updated . The merged instance is returned . @param job the updated job to merge with the db version @return merged job @throws JobException if unable to merge . This is usually due to a concurrent modification issue
public static Job merge(Job job) throws JobException
	{
		try
		{
		    HibernateUtil.beginTransaction();
			Session session = HibernateUtil.getSession();
			return (Job)session.merge(job);
		}
		catch (HibernateException ex) {
		    log.error("Concurrency issue with job " + job.getUuid());
			throw new JobException(ex);
		}
	}
public static Job merge ( Job job ) throws JobException { try { HibernateUtil . beginTransaction ( ) ; Session session = HibernateUtil . getSession ( ) ; return ( Job ) session . merge ( job ) ; } catch ( HibernateException ex ) { log . error ( "Concurrency issue with job " + job . getUuid ( ) ) ; throw new JobException ( ex ) ; } }
Merges the current cached job object with the persisted value.
Merges the current cached job object with the persisted value .