Update SqlPrettyTest.java

上级 b1258e0a
......@@ -17,7 +17,7 @@
package org.maxkey.util;
import org.maxkey.pretty.impl.SqlPretty;
import org.maxkey.pretty.PrettyFactory;
public class SqlPrettyTest {
......@@ -26,10 +26,8 @@ public class SqlPrettyTest {
}
public static void main(String[] args) {
// TODO Auto-generated method stub
SqlPretty sf=new SqlPretty();
String sqlString="select * from userinfo where t='111' order by t,s,t";
System.out.println(sf.format(sqlString));
System.out.println(PrettyFactory.getSqlPretty().format(sqlString));
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册