Interface IJdbcConnector

All Known Implementing Classes:
AbstractJdbcConnector, ChJdbcConnector, MsJdbcConnector, PgJdbcConnector

public interface IJdbcConnector
  • Method Details

    • getConnection

      Connection getConnection() throws IOException
      Creates a new database connection using the parameters specified in the constructor. The caller is responsible for closing the connection.
      Returns:
      new database connection
      Throws:
      IOException - if the driver is not found or a database access error occurs
    • getBatchDelimiter

      String getBatchDelimiter()
      Returns batch delimiter. If the value is null, each statement will be executed separately in autocommit mode.
      Returns:
      batch delimiter
    • getUrl

      String getUrl()
      Returns:
      connection string
    • getDbName

      String getDbName()
      Returns:
      database name extracted from the connection URL