org.hsqldb.persist
Class ScriptRunner
- java.lang.Object
-
- org.hsqldb.persist.ScriptRunner
-
public class ScriptRunner extends java.lang.ObjectRestores the state of a Database instance from an SQL log file.If there is an error, processing stops at that line and the message is logged to the application log. If memory runs out, an exception is thrown.
- Since:
- 1.7.2
-
-
Constructor Summary
Constructors Constructor and Description ScriptRunner()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidrunScript(Database database, java.io.InputStream inputStream)static voidrunScript(Database database, java.lang.String logFilename)This is used to read the *.log file and manage any necessary transaction rollback.
-
DataMelt 3.0 © DataMelt by jWork.ORG