178179180181182183184185186187188
try { parser.SQLStatement(); Node root = parser.getRootNode(); Adapter rootAdapter = Utilities.buildTree(root.jjtGetChild(0), sql, ds); ParseTreeFrame parseTree = new ParseTreeFrame(); parseTree.setTreeModel(new GDBMSParseTreeModel( (SimpleNode) root));
667668669670671672673674675676677
} catch (ParseException e) { throw new SyntaxException(e); } Node root = parser.getRootNode(); Adapter rootAdapter = Utilities.buildTree(root.jjtGetChild(0), sql, this); Utilities.simplify(rootAdapter); DataSource result = null;