String sql = "select a,b,c from test";
Select select = (Select) parserManager.parse(new StringReader(sql));
ConnectExpressionsVisitor instance = new ConnectExpressionsVisitor() {
@Override
protected BinaryExpression createBinaryExpression() {
return new Concat();
}
};
select.getSelectBody().accept(instance);
assertEquals("SELECT a || b || c AS expr FROM test", select.toString());