statement.setInt(1, requestID);
ResultSet result = statement.executeQuery();
if (result.next()) {
request = getRequestFromResult(result);
} else {
throw new RequestNotFoundException();
}
} catch (SQLException e) {
throw new DAOException();
}
return request;