* @return The mapped Form from the current row of the given ResultSet.
* @throws SQLException
* If something fails at database level.
*/
private static Form mapForm(ResultSet resultSet) throws SQLException {
return new Form(resultSet.getLong("id"), resultSet.getInt("adult"), resultSet.getInt("child"),
RoomClassEnum.valueOf(resultSet.getString("roomClass").toUpperCase()), resultSet.getDate("arrival"),
resultSet.getInt("nights"), resultSet.getString("commentary"));
}