public boolean getUserInfo(String tableName, String uid, int interval) {
		userId = uid;
		ClsDb cd = new ClsDb();
		cd.openDb();
		String sql = "select * from info_users where uid='" + uid + "'";
		ResultSet rs = cd.executeSelectQuery(sql);
		try {
			if (rs.next()) {
				if (rs.getInt("gender") == 1)
					userGender = true;
				else if (rs.getInt("gender") == 2)
					userGender = false;
				if (rs.getInt("age") != 0) {
					userAge = dimAge.get(rs.getInt("age"));
				}
				if (rs.getInt("city") != 0) {
					userCity = dimCity.get(rs.getInt("city"));
				}
				if (rs.getInt("income_pre") != 0) {
					userIncome = rs.getInt("income_pre");
				}
				if (rs.getInt("edu") != 0) {
					userEdu = dimEdu.get(rs.getInt("edu"));
				}
				if (rs.getInt("occupation") != 0) {
					userOcc = dimOcc.get(rs.getInt("occupation"));
				}
				if (rs.getInt("industry") != 0) {
					userInd = dimInd.get(rs.getInt("industry"));
				}
				if (rs.getInt("birthday") != 0) {
					userBirthday = rs.getString("birthday");
				}
			}
		} catch (SQLException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
			return false;
		}
		userSessions = ClsSession.getUserSessionsDirectly(tableName, uid, interval);
		try {
			rs.close();
		} catch (SQLException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
			return false;
		}
		cd.closeDb();
		// System.out.println(dimEdu.toString());
		// System.out.println(dimAge.toString());
		// System.out.println(dimOcc.toString());
		// System.out.println(dimInd.toString());
		// System.out.println(dimReg.toString());
		return true;
	}