Skip to content

Commit

Permalink
Merge branch '3.8' of https://github.com/JumpMind/symmetric-ds.git in…
Browse files Browse the repository at this point in the history
…to 3.8
  • Loading branch information
jumpmind-josh committed Aug 22, 2016
2 parents 082feb9 + c585264 commit e2ba686
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -146,7 +146,9 @@ public Set<Node> findNodesThatOriginatedFromNodeId(String originalNodeId, boolea
* with it.
*/
public Node findNode(String id) {
return findAllNodesAsMap().get(id);
List<Node> list = sqlTemplate.query(getSql("selectNodePrefixSql", "findNodeSql"),
new NodeRowMapper(), id);
return (Node) getFirstEntry(list);
}

public Node findNode(String id, boolean useCache) {
Expand Down

0 comments on commit e2ba686

Please sign in to comment.