Bug 167080 The name suffix when create report document.
In current DtE implementation, the suffix of created report document are like follows: QsXXX (XXX stands for a number) in query result of each query execution. The number will keep increased in a jvm, this is however not expected. Ideally, for each report render session(managed by Engine), the number(XXX) should be restarted. Otherwise, in real use of Data Engine, the jvm may exists for several days, which will cause the number suffix growing very big.This is not expected.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/document/QueryResultIDUtil.java
/*******************************************************************************
 * Copyright (c) 2004 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.data.engine.impl.document;
/**
 * Manage the operation related with query result id.
 */
public class QueryResultIDUtil
{
	private static int qursStart = 0;
	private final static String QURE_ID_PREFIX = "QuRs";
	private final static String CACHE_QUERY_RESULT_ID = "CacheQuRs";
	private final static String QURE_ID_SEPARATOR = "_";
	private final static String STREAM_ID_SEPARATOR = "/";
	
	private final static String SUBQUERY_ID_SEPARATOR = "/";
	/**
	 * No instance
	 */
	private QueryResultIDUtil( )
	{
	}
	/**