ArrayList columnList, ArrayList joinList )
ArrayList columnList, ArrayList joinList, JdbcMetaDataProvider metaDataProvider )
	public static String constructSql( ArrayList tableList,			ArrayList columnList, ArrayList joinList )        {        	String sqlStatement = null;        	String SELECT = " SELECT ";        	String SELECT_COLUMN_SPACING = "        ";        	if ( tableList != null && columnList != null)        	{        		        		// The Select clause built from the column list        		StringBuffer selectClause = new StringBuffer(SELECT);//$NON-NLS-1$        		        		int columnCount = columnList.size();        		        		for ( int i=0; i < columnCount; i++)        		{        			selectClause.append((String)columnList.get(i));        			if ( i != (columnCount -1))        			{        				 selectClause.append(",");//$NON-NLS-1$        				 selectClause.append("\n");        				 selectClause.append(SELECT_COLUMN_SPACING);        			}        		}        		        		selectClause.append(" ");//$NON-NLS-1$        		StringBuffer fromClause = new StringBuffer(" FROM ");//$NON-NLS-1$        		        		String fromAndWhereClause = null;       			fromAndWhereClause = getFromAndOnClause(tableList, joinList);        		sqlStatement = selectClause.toString() + "\n" + fromAndWhereClause;        	}        	        	return sqlStatement;        }