net.sourceforge.addam.ddlrun.runners
Class JDBCStatementRunner

java.lang.Object
  extended by 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

Field Summary
private  Connection connection
           
 
Constructor Summary
JDBCStatementRunner(Connection connection)
           
 
Method Summary
 void run(String resource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

connection

private final Connection connection
Constructor Detail

JDBCStatementRunner

public JDBCStatementRunner(Connection connection)
Method Detail

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.