Interface DBConnectionBuilder

All Superinterfaces:
ConnectionBuilder

public interface DBConnectionBuilder extends ConnectionBuilder
Database connection builder
  • Method Details

    • setConnectionString

      DBConnectionBuilder setConnectionString(String url)
      Set the url of connection string for database connection
      Parameters:
      url - the database url
      Returns:
      the DBConnectionBuilder itself
    • getConnectionString

      String getConnectionString()
      Get the connection string
      Returns:
      the database url
    • setDatabaseType

      DBConnectionBuilder setDatabaseType(DatabaseType type)
      Set the database type.
      Parameters:
      type - the type of the database
      Returns:
      the DBConnectionBuilder itself
    • getDatabaseType

      DatabaseType getDatabaseType()
      Get the database type.
      Returns:
      the database type