buf.setLength(buf.length() - 2);
}
if (forUpdateType == SelectForUpdateType.NOWAIT) {
buf.append(" nowait ");
}
<BUG>ForUpdateClauseNode forUpdate = new ForUpdateClauseNode(" for update");
forUpdate.appendNode(new FragmentNode(buf.toString()));</BUG>
SelectStatementNode result = new SelectStatementNode();
result.setSelectClauseNode(node.getSelectClauseNode());
result.setFromClauseNode(node.getFromClauseNode());

buf.setLength(buf.length() - 2);
}
if (forUpdateType == SelectForUpdateType.NOWAIT) {
buf.append(" nowait ");
}
ForUpdateClauseNode forUpdate = new ForUpdateClauseNode("for update");
forUpdate.appendNode(new FragmentNode(buf.toString()));
SelectStatementNode result = new SelectStatementNode();
result.setSelectClauseNode(node.getSelectClauseNode());
result.setFromClauseNode(node.getFromClauseNode());
