net.sourceforge.addam.ddlrun.custom
Class IDSRunLogger
java.lang.Object
net.sourceforge.addam.ddlrun.custom.IDSRunLogger
- All Implemented Interfaces:
- RunLogger
public class IDSRunLogger
- extends Object
- implements RunLogger
Logs events into a script table and updates the start point based on the group resource in another table.
The statements must include
- Since:
- Mar 6, 2005
- Author:
- TIM3
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSERT_SCRIPT_LOG
public static final String INSERT_SCRIPT_LOG
- See Also:
- Constant Field Values
UPDATE_VERSION
public static final String UPDATE_VERSION
- See Also:
- Constant Field Values
UNDEFINE_VERSION
public static final String UNDEFINE_VERSION
- See Also:
- Constant Field Values
undefineVersionStatement
private PreparedStatement undefineVersionStatement
insertScriptLogStatement
private PreparedStatement insertScriptLogStatement
updateVersionStatement
private PreparedStatement updateVersionStatement
connection
private final Connection connection
dbversion
private final String dbversion
IDSRunLogger
public IDSRunLogger(Connection connection,
String version)
- constructs a IDSRunLogger
logRunScript
public void logRunScript(String script,
long time)
throws SQLException
- Specified by:
logRunScript
in interface RunLogger
- Throws:
SQLException
logRunComplete
public void logRunComplete(String group,
long time)
throws Exception
- Specified by:
logRunComplete
in interface RunLogger
- Throws:
Exception
logRunFailure
public void logRunFailure(String group,
String script,
Exception e)
- Specified by:
logRunFailure
in interface RunLogger
Copyright © 2005-2006 ADDAM Project Team. All Rights Reserved.