AbstractDBConfig

public abstract class AbstractDBConfig

This abstract class encapsulates the database configuration, composed of as db url, username and password.

Constructors

AbstractDBConfig

public AbstractDBConfig(String url, String driver, String username, String password)

Constructor.

Parameters:
  • url – the url of the database
  • driver – the driver class name for the database
  • username – the username to the database
  • password – the password for the database

Methods

equals

public boolean equals(Object o)

getDriver

public String getDriver()

getPassword

public String getPassword()

getUrl

public String getUrl()

getUsername

public String getUsername()

hashCode

public int hashCode()

toString

public String toString()