public synchronized void demoWithDateMasterTableInSchema(String pStn, Date fromDate, Date toDate){
		PreparedStatement pstmt = null;
		Double avgTemp = 0.0;
		DateMasterVO dateMasterVOObj = null;
		HashMap<String, DateMasterVO> hm = new HashMap<String, DateMasterVO>();
		ResultSet rs = null;
		int count = 0;
		
		try{
			conn = DBConnectionMgr.getConnection();
			
			if(conn != null && !conn.isClosed())
				pstmt = conn.prepareStatement(WeatherDataConstants.SELECT_DEMO_QUERY1);
			
			pstmt.setString(1, pStn);
			pstmt.setDate(2, fromDate);
			pstmt.setDate(3, toDate);
			pstmt.setDate(4, fromDate);
			pstmt.setDate(5, toDate);
			
			System.out.println("");
			
			rs = pstmt.executeQuery();
			
			if(rs != null){
				while(rs.next()){
					avgTemp = rs.getDouble(1);
					dateMasterVOObj = new DateMasterVO();
					dateMasterVOObj.setWeekOfYear(rs.getInt(2));
					dateMasterVOObj.setYear(rs.getInt(3));
					count++;
					
					hm.put(""+count+" : "+avgTemp, dateMasterVOObj);
				}
			}
			//count = 0;
			
			Iterator it = hm.entrySet().iterator();
			while(it.hasNext()){
				Map.Entry pairs = (Map.Entry)it.next();
				System.out.println("Average Temp : "+pairs.getKey().toString()+" "
						+ "Weak Of Year : "+((DateMasterVO)pairs.getValue()).getWeekOfYear()+" Year : "+((DateMasterVO)pairs.getValue()).getYear());
				//it.remove();
			}
		}catch(SQLException se){
			se.printStackTrace();
		}
	}