Bug 161191 Null is inserted when drag columns to query text with ctrl key pressed
Description: Null is inserted when drag columns to query text with ctrl key pressed Steps to reproduce: 1. New a data source. 2. New a dataset. 3. Press and hold ctrl key, select OFFICECODE and CITY columns, drag to query text. Expected result: "CLASSICMODELS.OFFICES.OFFICECODE,CLASSICMODELS.OFFICES.CITY" is inserted in query text. Actual result: "null,CLASSICMODELS.OFFICES.OFFICECODE,CLASSICMODELS.OFFICES.CITY" is inserted
data/org.eclipse.birt.report.data.oda.jdbc.ui/src/org/eclipse/birt/report/data/oda/jdbc/ui/editors/SQLDataSetEditorPage.java
SWT.NONE,
					null );
			
			if ( item != null && item.length > 0 )
				availableDbObjectsTree.showItem( item[0] );
			
		}
		catch ( Exception e )
		{
			e.printStackTrace( );
		}
	}
	/**
	 * @param dbtype
	 * @param procedureRs
	 * @return
	 */
	private boolean needToCreateProcedureNode( String dbtype, ArrayList procedureRs )
	{
		return procedureRs!=null&& procedureRs.size()>0  && (DbType.ALL_STRING.equalsIgnoreCase(dbtype)||DbType.PROCEDURE_STRING.equalsIgnoreCase(dbtype) );
	}
	
	/**
	 * Connects the metadata provider to the specified data source
	 */
	protected Connection connectMetadataProvider( IMetaDataProvider metadata,
			DataSourceDesign dataSourceDesign )
	{
		return metadata.connect( dataSourceDesign );
	}