com.agimatec.sql.script
Class SQLScriptExecutor
java.lang.Object
com.agimatec.sql.script.SQLScriptExecutor
- All Implemented Interfaces:
- ScriptVisitor
public class SQLScriptExecutor
- extends Object
- implements ScriptVisitor
|
Field Summary |
protected static org.apache.commons.logging.Log |
mySQLLogger
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mySQLLogger
protected static final org.apache.commons.logging.Log mySQLLogger
SQLScriptExecutor
public SQLScriptExecutor(JdbcDatabase aStore)
getConnection
protected Connection getConnection()
visitStatement
public int visitStatement(String statement)
throws SQLException
- Specified by:
visitStatement in interface ScriptVisitor
- Throws:
SQLException
visitComment
public void visitComment(String theComment)
- Specified by:
visitComment in interface ScriptVisitor
doCommit
public void doCommit()
throws SQLException
- Specified by:
doCommit in interface ScriptVisitor
- Throws:
SQLException
doRollback
public void doRollback()
throws SQLException
- Specified by:
doRollback in interface ScriptVisitor
- Throws:
SQLException
log
public void log(Object obj)
Copyright © 2008-2011. All Rights Reserved.