public class JDBCScriptTool extends Object
This class is able to output result sets in textual form.
Constructor and Description |
---|
JDBCScriptTool(Reader input,
PrintWriter output)
Constructs the tool.
|
Modifier and Type | Method and Description |
---|---|
Connection[] |
evaluate(Connection connection,
String url,
String username,
String password)
Evaluates the input script and outputs the result to the output stream.
|
static void |
main(String[] args)
The application start point.
|
public JDBCScriptTool(Reader input, PrintWriter output)
public Connection[] evaluate(Connection connection, String url, String username, String password) throws IOException
IOException
public static void main(String[] args)
Copyright © 2015. All rights reserved.