com.partnersoft.sql
Class SqlScripter
java.lang.Object
com.partnersoft.sql.SqlScripter
public class SqlScripter
- extends java.lang.Object
Runs a series of SQL commands against a database. Useful for scripted
modifications etc.
Copyright 2002 Partner Software, Inc.
- Version:
- $Id$
- Author:
- Paul Reavis
| 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 SqlConnection getDatabaseConnection()
setDatabaseConnection
public void setDatabaseConnection(SqlConnection 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)