org.logicalcobwebs.dbscript
Class ScriptRunner

java.lang.Object
  extended by org.logicalcobwebs.dbscript.ScriptRunner

public class ScriptRunner
extends java.lang.Object

Run a script.

Since:
Proxool 0.5
Version:
$Revision: 1.11 $, $Date: 2003/03/03 11:12:03 $
Author:
Bill Horsman (bill@logicalcobwebs.co.uk), $Author: billhorsman $ (current maintainer)

Field Summary
private static Log LOG
           
 
Constructor Summary
ScriptRunner()
           
 
Method Summary
protected static void runScript(Script script, ConnectionAdapterIF adapter, CommandFilterIF commandFilter)
          Run the script.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

private static final Log LOG
Constructor Detail

ScriptRunner

public ScriptRunner()
Method Detail

runScript

protected static final void runScript(Script script,
                                      ConnectionAdapterIF adapter,
                                      CommandFilterIF commandFilter)
                               throws java.sql.SQLException,
                                      ProxoolException
Run the script.

Parameters:
script - to run
adapter - so we know where to connections from
Throws:
java.sql.SQLException - if anything goes wrong
ProxoolException