statement.setString(1, projectName);
ResultSet result = statement.executeQuery();
if (result.next()) {
project = getProjectFromResult(result);
} else {
throw new ProjectNotFoundException();
}
} catch (SQLException e) {
throw new DAOException();
}
return project;