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 protected
StatementCommand(String sql)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finalize(Connection connection)
Called after last executionvoid
initialize(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.Command
Called before first execution- Specified by:
initialize
in interfaceScriptExecutorTool.Command
- Throws:
SQLException
-
finalize
public void finalize(Connection connection) throws SQLException
Description copied from interface:ScriptExecutorTool.Command
Called after last execution- Specified by:
finalize
in interfaceScriptExecutorTool.Command
- Throws:
SQLException
-
-