public class JdbcTool extends Object
| 构造器和说明 |
|---|
JdbcTool(String _type,
String _host,
int _port,
String _schema,
String _urlParams,
String _driverClass,
String _username,
String _password) |
JdbcTool(String _type,
String _url,
String _driverClass,
String _username,
String _password) |
public JdbcTool(String _type, String _url, String _driverClass, String _username, String _password)
public List<Map> query(String sql) throws ClassNotFoundException, SQLException
public Object queryCell(String sql, int index, String columnName) throws SQLException, ClassNotFoundException
public Object queryFirstCell(String sql, String columnName) throws SQLException, ClassNotFoundException
public Object queryFirstCell(String sql) throws SQLException, ClassNotFoundException
Copyright © 2022. All rights reserved.