public class RunSQL
extends Object
implements RemoteAccess
Modifier and Type | Field and Description |
---|---|
static File |
DIR |
static int |
MAJOR |
static int |
MINOR |
Constructor and Description |
---|
RunSQL() |
Modifier and Type | Method and Description |
---|---|
static Connection |
connect() |
static void |
doSql(Connection conn,
String sql) |
static List<Map<String,Object>> |
doSqlQuery(Connection conn,
String sql) |
static List<Map<String,Object>> |
doSqlQuery(String sql) |
static void |
main(String[] a) |
static Map<String,List<Map<String,Object>>> |
run(Map<String,Object> in) |
static List<Map<String,Object>> |
runTest(Connection conn,
File SQLFile) |
static Map<String,List<Map<String,Object>>> |
runTest(String fileName) |
static Map<String,List<Map<String,Object>>> |
runTests() |
static Map<String,List<Map<String,Object>>> |
runTests(File dir) |
public static final int MAJOR
public static final int MINOR
public static final File DIR
public static Connection connect() throws Exception
Exception
public static List<Map<String,Object>> doSqlQuery(String sql) throws Exception
Exception
public static Map<String,List<Map<String,Object>>> run(Map<String,Object> in) throws Exception
Exception
public static Map<String,List<Map<String,Object>>> runTests() throws Exception
Exception
public static Map<String,List<Map<String,Object>>> runTests(File dir) throws Exception
Exception
public static Map<String,List<Map<String,Object>>> runTest(String fileName) throws Exception
Exception
public static List<Map<String,Object>> runTest(Connection conn, File SQLFile) throws Exception
Exception
public static List<Map<String,Object>> doSqlQuery(Connection conn, String sql) throws Exception
Exception
public static void doSql(Connection conn, String sql) throws Exception
Exception
public static void main(String[] a) throws Exception
Exception