mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved sql parser.
This commit is contained in:
@@ -34,14 +34,7 @@ import java.sql.ResultSetMetaData;
|
||||
import java.sql.SQLException;
|
||||
import java.sql.Statement;
|
||||
import java.sql.Types;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.Enumeration;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Properties;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* @author wenshao [szujobs@hotmail.com]
|
||||
@@ -629,6 +622,10 @@ public final class JdbcUtils implements JdbcConstants {
|
||||
}
|
||||
}
|
||||
|
||||
public static void execute(Connection conn, String sql) throws SQLException {
|
||||
execute(conn, sql, Collections.emptyList());
|
||||
}
|
||||
|
||||
public static void execute(Connection conn, String sql, List<Object> parameters) throws SQLException {
|
||||
PreparedStatement stmt = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user