@Component public class SQLEngine extends Object
| 构造器和说明 |
|---|
SQLEngine() |
public List<Map<String,String>> execute(String jdbcUrl, String username, String password, String sql)
public Connection getConnection(String jdbcUrl, String username, String password) throws Exception
Exceptionpublic List<Map<String,String>> executeSQL(Connection connection, String sql) throws SQLException
SQLExceptionCopyright © 2020. All rights reserved.