public MessageBoard loadMessageBoard(String name) throws IllegalArgumentException, SQLException {

    if (name == null) throw new IllegalArgumentException("Name is null");

    Statement s0 = connection.createStatement();
    ResultSet set0 = s0.executeQuery("select * from MessageBoard where name like ?");
    if (!set0.next()) return null;

    MessageBoard board = new MessageBoard();
    board.setDescription(set0.getString("description"));
    board.setId(set0.getInt("id"));
    board.setName(set0.getString("name"));
    board.setUrl(set0.getString("url"));
    board.setMessageThreads(null);
    board.setUsers(null);

    set0.close();
    s0.close();

    return board;
  }