code: @Override
  	public void updateJobStatus(long instanceId, JobStatus jobStatus) {
  		logger.entering(CLASSNAME, "updateJobStatus", new Object[] {instanceId, jobStatus});
  		if (logger.isLoggable(Level.FINE)) {
  			logger.fine("Updating Job Status to: " + jobStatus.getBatchStatus());
  		}
  		Connection conn = null;
  		PreparedStatement statement = null;
  		try {
  			conn = getConnection();
  			statement = conn.prepareStatement("UPDATE jobstatus SET obj = ? WHERE id = ?");
  			statement.setBytes(1, serializeObject(jobStatus));
  			statement.setLong(2, instanceId);
  			statement.executeUpdate();
  		} catch (SQLException e) {
  			throw new PersistenceException(e);
  		} catch (IOException e) {
  			throw new PersistenceException(e);
  		} finally {
  			cleanupConnection(conn, null, statement);
  		}
  		logger.exiting(CLASSNAME, "updateJobStatus");
  	}
docs: /* (non-Javadoc)
  @see com.ibm.jbatch.container.services.IPersistenceManagerService#updateJobStatus(long, com.ibm.jbatch.container.status.JobStatus)