Interface IDb2Instance


public interface IDb2Instance
IDb2Instance provides a connection to a tagged Db2 Database. This connection must be established to connected a IDb2Schema to this database.
  • Method Summary

    Modifier and Type
    Method
    Description
    The Db2 manager provides some basic ease of use methods to submit SQL statements and handle the records returned, but for more complex uses the standard java.sql.Connection can be retrieved.
    Requests from the database to return the database name.
  • Method Details

    • getConnection

      Connection getConnection()
      The Db2 manager provides some basic ease of use methods to submit SQL statements and handle the records returned, but for more complex uses the standard java.sql.Connection can be retrieved. Note that any archiving will have to be managed within a test if using this option.
      Returns:
    • getDatabaseName

      String getDatabaseName() throws Db2ManagerException
      Requests from the database to return the database name.
      Returns:
      Throws:
      Db2ManagerException