druid 请问SQL解析后的对象怎么再转成sql

pgpifvop  于 4个月前  发布在  Druid
关注(0)|答案(2)|浏览(67)

比如说
OracleStatementParser oracleStatementParser = new OracleStatementParser(sql);
List statementList = oracleStatementParser.parseStatementList();
OracleSchemaStatVisitor visitor = new OracleSchemaStatVisitor();

visitor 如何转成Mysql的一段(新)sql?

@wenshao

谢谢!

rjjhvcjd

rjjhvcjd2#

com.alibaba.druid.sql.SQLUtils#toSQLString(java.util.List<com.alibaba.fastsql.sql.ast.SQLStatement>, com.alibaba.fastsql.DbType)

相关问题