Interface DatabaseDelegate

All Superinterfaces:
java.lang.AutoCloseable
All Known Implementing Classes:
AbstractDatabaseDelegate

public interface DatabaseDelegate
extends java.lang.AutoCloseable
Database delegate Gives an abstraction from concrete database
  • Method Summary

    Modifier and Type Method Description
    void close()
    Close connection to the database Overridden to suppress throwing Exception
    void execute​(java.lang.String statement, java.lang.String scriptPath, int lineNumber, boolean continueOnError, boolean ignoreFailedDrops)
    Execute statement by the implementation of the delegate
    void execute​(java.util.Collection<java.lang.String> statements, java.lang.String scriptPath, boolean continueOnError, boolean ignoreFailedDrops)
    Execute collection of statements
  • Method Details

    • execute

      void execute​(java.lang.String statement, java.lang.String scriptPath, int lineNumber, boolean continueOnError, boolean ignoreFailedDrops)
      Execute statement by the implementation of the delegate
    • execute

      void execute​(java.util.Collection<java.lang.String> statements, java.lang.String scriptPath, boolean continueOnError, boolean ignoreFailedDrops)
      Execute collection of statements
    • close

      void close()
      Close connection to the database Overridden to suppress throwing Exception
      Specified by:
      close in interface java.lang.AutoCloseable