Interface DatabaseDelegate

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
AbstractDatabaseDelegate

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

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

    • execute

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

      void execute(Collection<String> statements, 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 AutoCloseable