Bug 123915 Add table-fetch limitation when DataSet Editor is populating table names.
When fetch table names from database of large volume of data, there lies a possibility that the editor window will be frozen because of the population of huge number of table names. This should be enhanced. A handy solution might be limiting the number of table names being fetched each schema.
data/org.eclipse.birt.report.data.oda.jdbc.ui/src/org/eclipse/birt/report/data/oda/jdbc/ui/editors/SQLDataSetEditorPage.java
/**
	 * 
	 * @return The Type of the object selected in the type combo ( Can be one of the following )
	 *   1) TABLE
	 *   2) VIEW
	 *   3) ALL
	 */
	private String  getSelectedDbType()
	{
		
		IStructuredSelection selection = (IStructuredSelection)filterComboViewer.getSelection();
		String type = DbType.ALL_STRING;
		if(selection != null && selection.getFirstElement() != null )
		{
			DbType dbType =  (DbType)selection.getFirstElement();
			
			switch ( dbType.getType())
			{
				case DbType.TABLE_TYPE:
					type = DbType.TABLE_STRING;
					break;
				case DbType.VIEW_TYPE:
					type = DbType.VIEW_STRING;
					break;
				case DbType.PROCEDURE_TYPE:
					type = DbType.PROCEDURE_STRING;
					break;
			}
		}