try {
Node endNode = db.getNodeById(end);
startNode.createRelationshipTo(endNode, withName(relationshipType));
tx.success();
} catch (final Exception e) {
tx.failure();
} finally {
tx.close();
relList.add(end);
relationshipCache.put(start, relList);
}