Documentation of 'org.hsqldb.persist.ScriptRunner' Java class
ScriptRunner
org.hsqldb.persist

Class ScriptRunner



  • public class ScriptRunner
    extends java.lang.Object
    Restores 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 void runScript(Database database, java.io.InputStream inputStream) 
      static void runScript(Database database, java.lang.String logFilename)
      This is used to read the *.log file and manage any necessary transaction rollback.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ScriptRunner

        public ScriptRunner()
    • Method Detail

      • runScript

        public static void runScript(Database database,
                                     java.io.InputStream inputStream)
      • runScript

        public static void runScript(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

Ads help maintain this website.