code: @Override
  	public String getTagName(long jobExecutionId) {
  		logger.entering(CLASSNAME, "getTagName", jobExecutionId);
  		String apptag = null;
  		Connection conn = null;
  		PreparedStatement statement = null;
  		ResultSet rs = null;
  		String query = "SELECT A.apptag FROM jobinstancedata A INNER JOIN executioninstancedata B ON A.jobinstanceid = B.jobinstanceid"
  				+ " WHERE B.jobexecid = ?";
  		try {
  			conn = getConnection();
  			statement = conn.prepareStatement(query);
  			statement.setLong(1, jobExecutionId);
  			rs = statement.executeQuery();
  			if(rs.next()) {
  				apptag = rs.getString(1);
  			}
  		} catch (SQLException e) {
  			throw new PersistenceException(e);
  		} finally {
  			cleanupConnection(conn, rs, statement);
  		}
  		logger.exiting(CLASSNAME, "getTagName");
  		return apptag;
  	}
docs: /* (non-Javadoc)
  @see com.ibm.jbatch.container.services.IPersistenceManagerService#getTagName(long)