Class ScriptExecutorTool.StatementCommand
- java.lang.Object
-
- de.akquinet.jbosscc.guttenbase.tools.ScriptExecutorTool.StatementCommand
-
- All Implemented Interfaces:
ScriptExecutorTool.Command
- Enclosing class:
- ScriptExecutorTool
public abstract static class ScriptExecutorTool.StatementCommand extends Object implements ScriptExecutorTool.Command
-
-
Field Summary
Fields Modifier and Type Field Description protected PreparedStatement_statement
-
Constructor Summary
Constructors Modifier Constructor Description protectedStatementCommand(String sql)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfinalize(Connection connection)Called after last executionvoidinitialize(Connection connection)Called before first execution-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.akquinet.jbosscc.guttenbase.tools.ScriptExecutorTool.Command
execute
-
-
-
-
Field Detail
-
_statement
protected PreparedStatement _statement
-
-
Constructor Detail
-
StatementCommand
protected StatementCommand(String sql)
-
-
Method Detail
-
initialize
public void initialize(Connection connection) throws SQLException
Description copied from interface:ScriptExecutorTool.CommandCalled before first execution- Specified by:
initializein interfaceScriptExecutorTool.Command- Throws:
SQLException
-
finalize
public void finalize(Connection connection) throws SQLException
Description copied from interface:ScriptExecutorTool.CommandCalled after last execution- Specified by:
finalizein interfaceScriptExecutorTool.Command- Throws:
SQLException
-
-