public class BaseJDBCTest extends AbstractDriverIT
| Modifier and Type | Method and Description |
|---|---|
void |
compareTwoLists(ArrayList<String> expected,
ArrayList<String> actual) |
ArrayList<String> |
fetchColumnInResultSet(ResultSet rs,
int columnIndex) |
ArrayList<ArrayList<String>> |
fetchResultSet(ResultSet rs,
boolean printResult) |
static Connection |
getConnection() |
static Connection |
getConnection(Properties properties) |
ArrayList<String> |
getInfoViaSQLCmd(String sqlCmd) |
String |
getSFProjectRootString() |
int |
getSizeOfResultSet(ResultSet rs) |
void |
loadConfig() |
getConnection, getConnection, setUp, tearDownpublic static Connection getConnection() throws SQLException
SQLExceptionpublic static Connection getConnection(Properties properties) throws SQLException
SQLExceptionpublic int getSizeOfResultSet(ResultSet rs) throws SQLException
SQLExceptionpublic void loadConfig()
public ArrayList<ArrayList<String>> fetchResultSet(ResultSet rs, boolean printResult) throws SQLException
SQLExceptionpublic ArrayList<String> fetchColumnInResultSet(ResultSet rs, int columnIndex) throws SQLException
SQLExceptionpublic ArrayList<String> getInfoViaSQLCmd(String sqlCmd) throws SQLException
SQLExceptionCopyright © 2016. All rights reserved.