mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved sql parser. add new feature JdbcUtils.getCreateTableScript, for issue #1342
This commit is contained in:
@@ -20,7 +20,7 @@ public class MySql_getCreateTableScriptTest extends DbTestCase {
|
||||
public void test_oracle() throws Exception {
|
||||
Connection conn = getConnection();
|
||||
|
||||
String createTableScript = JdbcUtils.getCreateTableScript(JdbcConstants.MYSQL, conn);
|
||||
String createTableScript = JdbcUtils.getCreateTableScript(conn, JdbcConstants.MYSQL);
|
||||
System.out.println(createTableScript);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user