public void run()
	{
		rsSet=getResultSet(cur, limit);
		String insert="insert into idf(term,docnum,idf)values(?,?,?)";
		int no=0;
		try {
			PreparedStatement statement=sqLconnection.conn.prepareStatement(insert);
			while(rsSet.next())
			{
				String term=rsSet.getString("term");
				int count=gettermCount(term);
				double idf=Math.log10((double)475748/count);
				statement.setString(1, term);
				statement.setInt(2, count);
				statement.setDouble(3, idf);
				statement.addBatch();
				no++;
				if(no%1000==0)
				{
					statement.executeBatch();
					statement.clearBatch();
					System.out.println(name+":"+no);
				}
			}
			statement.executeBatch();
		} catch (SQLException e) {
			e.printStackTrace();
		}
	}