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
Iterator it = schemaList.iterator( );
				while ( it.hasNext( ) )
					schemaCombo.add( it.next( ).toString( ) );
			}
		}
		ArrayList schemaObjectList = new ArrayList( );
		if ( schemaList != null )
		{
			int numberOfSchema = 0;
			Preferences preferences = JdbcPlugin.getDefault( )
					.getPluginPreferences( );
			if ( preferences.contains( DateSetPreferencePage.USER_MAX_NUM_OF_SCHEMA ) )
			{
				numberOfSchema = preferences.getInt( DateSetPreferencePage.USER_MAX_NUM_OF_SCHEMA );
			}
			else
			{
				numberOfSchema = DateSetPreferencePage.DEFAULT_MAX_NUM_OF_SCHEMA;
				preferences.setValue( DateSetPreferencePage.USER_MAX_NUM_OF_SCHEMA,
						numberOfSchema );
			}
			cachedSchemaComboIndex = schemaCombo.getSelectionIndex( );
			if ( schemaCombo.getSelectionIndex( ) == 0 )
			{
				for ( int i = 0, count = 0; i < schemaList.size( )
						&& count < numberOfSchema; i++ )
				{
					String schemaName = (String) schemaList.get( i );
					if ( containsTableInSchema( schemaName ) )
					{