Node node = db.createNode( label );
node.setProperty( NUM_BANANAS_KEY, number );
tx.success();
return node.getId();
}
<BUG>finally
{
tx.finish();
}</BUG>
}

Node node = db.createNode( label );
node.setProperty( NUM_BANANAS_KEY, number );
tx.success();
return node.getId();
}
}
