net.sourceforge.addam.ddlrun.runners
Class JDBCStatementRunner
java.lang.Object
net.sourceforge.addam.ddlrun.runners.JDBCStatementRunner
- All Implemented Interfaces:
- Runner
public class JDBCStatementRunner
- extends Object
- implements Runner
Executes a single SQL statement; this is separated out in order to simplify testing for JDBCScriptRunner
and also to allow simplified external wiring of the connection object
- Since:
- Mar 6, 2005
- Author:
- TIM3
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
connection
private final Connection connection
JDBCStatementRunner
public JDBCStatementRunner(Connection connection)
run
public void run(String resource)
throws SQLException
- Specified by:
run
in interface Runner
- Throws:
SQLException
Copyright © 2005-2006 ADDAM Project Team. All Rights Reserved.