com.partnersoft.io.sql
Class SQLScripter
java.lang.Object
com.partnersoft.io.sql.SQLScripter
public class SQLScripter
- extends java.lang.Object
Runs a series of SQL commands against a database. Useful for scripted
modifications etc.
- Author:
- Paul Reavis Copyright 2002 Partner Software, Inc.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SQLScripter
public SQLScripter()
run
public void run()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getDatabaseConnection
public DatabaseConnection getDatabaseConnection()
setDatabaseConnection
public void setDatabaseConnection(DatabaseConnection connection)
getCommands
public java.util.ArrayList getCommands()
setCommands
public void setCommands(java.util.ArrayList newCommands)
getScript
public java.lang.String getScript()
setScript
public void setScript(java.lang.String newScript)
isVerbose
public boolean isVerbose()
setVerbose
public void setVerbose(boolean tizit)