58596061626364
} // Commit must come after all graph access. tx.commit(); return new GetGraphsResponse(graphs); }
206207208209210211212213214215
List<GetGraphResponse> graphs = new ArrayList<>(); for (GraphMetadata graphMetadata : projectMetadata.getGraphs()) { graphs.add(new GetGraphResponse(graphMetadata)); } return new GetGraphsResponse(graphs); } finally { tx.commit(); } }