Package com.meidusa.amoeba.mysql.parser.sql

Examples of com.meidusa.amoeba.mysql.parser.sql.MysqlParser


                paramCount++;
            }
        }

        // 使用 Amoeba 自带的解析器分析查询语句。
        MysqlParser parser = new MysqlParser(new StringReader(parseSql));

        // 设置函数列表。
        parser.setFunctionMap(functionMap);

        Statement stmt = null;
        try {
            stmt = parser.doParse();
        } catch (ParseException e) {
            parsingFailed = true;

            // 语句解析失败,写出日志。
            if (logger.isDebugEnabled()) {
View Full Code Here

TOP

Related Classes of com.meidusa.amoeba.mysql.parser.sql.MysqlParser

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.