Bug 134988 [regression]Available items in Query didn't change when change data source in Edit Data Set Dialog.
Description: Available items in Query didn't change when change data source in Edit Data Set Dialog. Steps to reproduce: 1. New two different data sources. 2. New a dataset, change data source, view Available Items in Query pane. Expected result: Available Items in Query pane changed according to new Data source. Actual result: Available Items in Query pane kept unchanged.
data/org.eclipse.birt.report.data.oda.jdbc.ui/src/org/eclipse/birt/report/data/oda/jdbc/ui/editors/SQLDataSetEditorPage.java
Preferences preferences = JdbcPlugin.getDefault( ).getPluginPreferences( );
				if ( preferences.contains( DateSetPreferencePage.USER_MAX_NUM_OF_TABLE_EACH_SCHEMA ) )
				{
					numberOfTable = preferences.getInt( DateSetPreferencePage.USER_MAX_NUM_OF_TABLE_EACH_SCHEMA );
				}
				else
				{
					numberOfTable = DateSetPreferencePage.DEFAULT_MAX_NUM_OF_TABLE_EACH_SCHEMA;
					preferences.setValue( DateSetPreferencePage.USER_MAX_NUM_OF_TABLE_EACH_SCHEMA,
							numberOfTable );
				}
				int count = 0;
				tableList = new ArrayList( );
				while ( tablesRs.next( ) && count < numberOfTable )
				{
					String tableName = tablesRs.getString( "TABLE_NAME" );
					String type = tablesRs.getString( "TABLE_TYPE" );
					if ( type.equalsIgnoreCase( "SYSTEM TABLE" ) )
						continue;
					
					
					int dbType = DbObject.TABLE_TYPE;
					if ( type.equalsIgnoreCase( "TABLE" ) )
					{
						image = tableImage;
						dbType = DbObject.TABLE_TYPE;
					}
					else if ( type.equalsIgnoreCase( "VIEW" ) )
					{