| java.lang.Object org.logicalcobwebs.dbscript.ScriptFacade
ScriptFacade | public class ScriptFacade (Code) | | Allows you to run scripts from file.
version: $Revision: 1.12 $, $Date: 2006/01/18 14:40:05 $ author: Bill Horsman (bill@logicalcobwebs.co.uk) author: $Author: billhorsman $ (current maintainer) since: Proxool 0.5 |
runScript | public static void runScript(String scriptLocation, ConnectionAdapterIF adapter)(Code) | | Run the script using the appropriate handler
Parameters: scriptLocation - the path to the file that contains the script XML Parameters: adapter - so we know where to get java.sql.Connection connections from. |
runScript | public static void runScript(String scriptLocation, ConnectionAdapterIF adapter, CommandFilterIF commandFilter)(Code) | | Run the script using the appropriate handler
Parameters: scriptLocation - the path to the file that contains the script XML Parameters: adapter - so we know where to get java.sql.Connection connections from. Parameters: commandFilter - allows you to filter which commands get run and do things to the java.sql.Connection |
|
|