public static User getUser(int uId) {
    String[] cols = { "*" };
    Integer[] conArr = { uId };
    SelectBuilder sb = DBIO.getSelectBuilder(cols, "User");
    ArrayList<User> custs;
    User user = null;
    try {
      sb.addIntCondition("uId", "=", conArr, true);
      System.err.println(con.isClosed());
      custs = result2User(sb.executeSelect(con));
      if (custs != null && custs.size() > 0) {
        user = custs.get(0);
      }
    } catch (SQLException sqlE) {
      return null;
    } catch (Exception e) {
      return null;
    }
    return user;
  }